From ce24cbd045b2a93a04c5cd258137ab8572f2c429 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Mon, 21 Dec 2009 16:17:48 -0500 Subject: check more headers before including them --- obt/mainloop.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'obt/mainloop.c') diff --git a/obt/mainloop.c b/obt/mainloop.c index 691c6875..bf866aec 100644 --- a/obt/mainloop.c +++ b/obt/mainloop.c @@ -21,10 +21,21 @@ #include "obt/display.h" #include "obt/util.h" +#ifdef HAVE_STDIO_H #include +#endif +#ifdef HAVE_STDLIB_H #include +#endif +#ifdef HAVE_SYS_SELECT_H #include +#endif +#ifdef HAVE_SYS_SOCKET_H +#include +#endif +#ifdef HAVE_SIGNAL_H #include +#endif typedef struct _ObtMainLoopTimer ObtMainLoopTimer; typedef struct _ObtMainLoopSignal ObtMainLoopSignal; -- cgit v1.2.3