From bde0d742822cabda424c1a7e48ea083cba505dcf Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sun, 14 Jun 1998 14:44:53 +0000 Subject: [PATCH] including correct headers; (HAVE_UNISTD_H): Added conditional. Added 1998-06-14 Martin Baulig * include/glibtop/global.h (TIME_WITH_SYS_TIME): including correct headers; (HAVE_UNISTD_H): Added conditional. Added `#include ' and `#include '. --- include/glibtop/global.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/include/glibtop/global.h b/include/glibtop/global.h index 9cbaed8b..1ad60784 100644 --- a/include/glibtop/global.h +++ b/include/glibtop/global.h @@ -51,6 +51,17 @@ # define __P(protos) () #endif +#if TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif + #ifdef HAVE_GUILE #include #endif @@ -67,7 +78,10 @@ #include #include + +#ifdef HAVE_UNISTD_H #include +#endif #ifdef HAVE_MEMORY_H #include @@ -75,7 +89,9 @@ #include #include +#include #include +#include #include #include