From f64b2474be0d4f0f5ad20c511400f02b1cb981f0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 9 Sep 2006 01:49:38 +0000 Subject: r18278: move more header checks and _GNU_SOURCE into libreplace (This used to be commit 77c442cd469ba881215e025c87ce632c876eb617) --- source4/include/includes.h | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) (limited to 'source4/include') diff --git a/source4/include/includes.h b/source4/include/includes.h index 5eb49b7f75..dc7db5d3bb 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 -#include -#include -#include -#include - -#ifdef HAVE_STRING_H -#include -#endif - -#include -#include +#include "system/time.h" +#include "system/wait.h" #define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2) -- cgit