From 34714be2059312dbe6097140ba996ab460c692da Mon Sep 17 00:00:00 2001 From: Martin Baulig Date: Sun, 24 Oct 1999 14:33:18 +0000 Subject: [PATCH] Make inclusion of conditional to `HAVE_OSRELDATE_H', not to 1999-10-24 Martin Baulig * glibtop_machine.h: Make inclusion of conditional to `HAVE_OSRELDATE_H', not to `__FreeBSD__'. * procsignal.c, proctime.c, proctime.c: Likewise. --- sysdeps/freebsd/ChangeLog | 6 ++++++ sysdeps/freebsd/glibtop_machine.h | 2 +- sysdeps/freebsd/prockernel.c | 2 +- sysdeps/freebsd/procsignal.c | 3 +++ sysdeps/freebsd/proctime.c | 2 +- 5 files changed, 12 insertions(+), 3 deletions(-) diff --git a/sysdeps/freebsd/ChangeLog b/sysdeps/freebsd/ChangeLog index 44474b48..62523743 100644 --- a/sysdeps/freebsd/ChangeLog +++ b/sysdeps/freebsd/ChangeLog @@ -1,3 +1,9 @@ +1999-10-24 Martin Baulig + + * glibtop_machine.h: Make inclusion of conditional + to `HAVE_OSRELDATE_H', not to `__FreeBSD__'. + * procsignal.c, proctime.c, proctime.c: Likewise. + 1999-10-16 Martin Baulig Applied all patches from the FreeBSD 3.3 ports collection. diff --git a/sysdeps/freebsd/glibtop_machine.h b/sysdeps/freebsd/glibtop_machine.h index 5748020e..347e9ff2 100644 --- a/sysdeps/freebsd/glibtop_machine.h +++ b/sysdeps/freebsd/glibtop_machine.h @@ -35,7 +35,7 @@ #include -#ifdef __FreeBSD__ +#ifdef HAVE_OSRELDATE_H #include #endif diff --git a/sysdeps/freebsd/prockernel.c b/sysdeps/freebsd/prockernel.c index 0dd97ab4..f0d6884a 100644 --- a/sysdeps/freebsd/prockernel.c +++ b/sysdeps/freebsd/prockernel.c @@ -44,7 +44,7 @@ #include #include -#ifdef __FreeBSD__ +#ifdef HAVE_OSRELDATE_H #include #endif diff --git a/sysdeps/freebsd/procsignal.c b/sysdeps/freebsd/procsignal.c index 3a164de4..58cc7666 100644 --- a/sysdeps/freebsd/procsignal.c +++ b/sysdeps/freebsd/procsignal.c @@ -26,7 +26,10 @@ #include #include + +#ifdef HAVE_OSRELDATE_H #include +#endif static const unsigned long _glibtop_sysdeps_proc_signal = (1L << GLIBTOP_PROC_SIGNAL_SIGNAL) + diff --git a/sysdeps/freebsd/proctime.c b/sysdeps/freebsd/proctime.c index d7fbecfe..22e7a60c 100644 --- a/sysdeps/freebsd/proctime.c +++ b/sysdeps/freebsd/proctime.c @@ -27,7 +27,7 @@ #include -#ifdef __FreeBSD__ +#ifdef HAVE_OSRELDATE_H #include #endif