diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-09 01:49:38 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:18:00 -0500 |
commit | f64b2474be0d4f0f5ad20c511400f02b1cb981f0 (patch) | |
tree | 54e7f405882dbd530cb9ccf104c3257365769f4f /source4/include | |
parent | bcd1d154f38e56bdf46052df9adb79a3e31cf8b1 (diff) | |
download | samba-f64b2474be0d4f0f5ad20c511400f02b1cb981f0.tar.gz |
r18278: move more header checks and _GNU_SOURCE into libreplace
(This used to be commit 77c442cd469ba881215e025c87ce632c876eb617)
Diffstat (limited to 'source4/include')
-rw-r--r-- | source4/include/includes.h | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/source4/include/includes.h b/source4/include/includes.h index 5eb49b7f753..dc7db5d3bb1 100644 --- a/source4/include/includes.h +++ b/source4/include/includes.h @@ -64,24 +64,12 @@ #endif #endif -#define _GNU_SOURCE /* Use GNU extensions */ - /* mark smb_panic() as noreturn, so static analysers know that it is used like abort */ _PUBLIC_ void smb_panic(const char *why) NORETURN_ATTRIBUTE; -#include <sys/types.h> -#include <stdio.h> -#include <stdlib.h> -#include <stddef.h> -#include <sys/time.h> - -#ifdef HAVE_STRING_H -#include <string.h> -#endif - -#include <signal.h> -#include <errno.h> +#include "system/time.h" +#include "system/wait.h" #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) |