diff options
author | Martin Baulig <martin@home-of-linux.org> | 1998-06-14 14:44:53 +0000 |
---|---|---|
committer | Martin Baulig <martin@src.gnome.org> | 1998-06-14 14:44:53 +0000 |
commit | bde0d742822cabda424c1a7e48ea083cba505dcf (patch) | |
tree | 5889874be1543931323b77fe165ce80d0c6ec098 | |
parent | 026e93121e818a7c9a4b9acb9ce280d0ebcf3752 (diff) | |
download | libgtop-bde0d742822cabda424c1a7e48ea083cba505dcf.tar.gz |
including correct headers; (HAVE_UNISTD_H): Added conditional. Added
1998-06-14 Martin Baulig <martin@home-of-linux.org>
* include/glibtop/global.h (TIME_WITH_SYS_TIME): including
correct headers; (HAVE_UNISTD_H): Added conditional.
Added `#include <sys/param.h>' and `#include <sys/stat.h>'.
-rw-r--r-- | include/glibtop/global.h | 16 |
1 files changed, 16 insertions, 0 deletions
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 <sys/time.h> +# include <time.h> +#else +# if HAVE_SYS_TIME_H +# include <sys/time.h> +# else +# include <time.h> +# endif +#endif + #ifdef HAVE_GUILE #include <guile/gh.h> #endif @@ -67,7 +78,10 @@ #include <stdlib.h> #include <stdarg.h> + +#ifdef HAVE_UNISTD_H #include <unistd.h> +#endif #ifdef HAVE_MEMORY_H #include <memory.h> @@ -75,7 +89,9 @@ #include <string.h> #include <sys/types.h> +#include <sys/param.h> #include <sys/socket.h> +#include <sys/stat.h> #include <signal.h> #include <errno.h> |