Make inclusion of <osreldate.h> conditional to `HAVE_OSRELDATE_H', not to

1999-10-24  Martin Baulig  <martin@home-of-linux.org>

	* glibtop_machine.h: Make inclusion of <osreldate.h> conditional
 	to `HAVE_OSRELDATE_H', not to `__FreeBSD__'.
	* procsignal.c, proctime.c, proctime.c: Likewise.
This commit is contained in:
Martin Baulig
1999-10-24 14:33:18 +00:00
committed by Martin Baulig
parent 77cf90cfb0
commit 34714be205
5 changed files with 12 additions and 3 deletions
+6
View File
@@ -1,3 +1,9 @@
1999-10-24 Martin Baulig <martin@home-of-linux.org>
* glibtop_machine.h: Make inclusion of <osreldate.h> conditional
to `HAVE_OSRELDATE_H', not to `__FreeBSD__'.
* procsignal.c, proctime.c, proctime.c: Likewise.
1999-10-16 Martin Baulig <martin@home-of-linux.org>
Applied all patches from the FreeBSD 3.3 ports collection.
+1 -1
View File
@@ -35,7 +35,7 @@
#include <fcntl.h>
#ifdef __FreeBSD__
#ifdef HAVE_OSRELDATE_H
#include <osreldate.h>
#endif
+1 -1
View File
@@ -44,7 +44,7 @@
#include <unistd.h>
#include <fcntl.h>
#ifdef __FreeBSD__
#ifdef HAVE_OSRELDATE_H
#include <osreldate.h>
#endif
+3
View File
@@ -26,7 +26,10 @@
#include <glibtop/procsignal.h>
#include <glibtop_suid.h>
#ifdef HAVE_OSRELDATE_H
#include <osreldate.h>
#endif
static const unsigned long _glibtop_sysdeps_proc_signal =
(1L << GLIBTOP_PROC_SIGNAL_SIGNAL) +
+1 -1
View File
@@ -27,7 +27,7 @@
#include <glibtop_suid.h>
#ifdef __FreeBSD__
#ifdef HAVE_OSRELDATE_H
#include <osreldate.h>
#endif