diff options
author | Cy Schubert <cy@FreeBSD.org> | 2024-05-10 15:15:56 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2024-05-26 22:55:52 +0000 |
commit | 1f833b3fc9968c3dd7ed79ccf0525ebf16c891ad (patch) | |
tree | 85801af20e3b694584668aeb39ecec75ee71f72c /ntpsnmpd/netsnmp_daemonize.c | |
parent | ab1f1aa8333369a83ff284848fc3fc2e52d5f29f (diff) |
Diffstat (limited to 'ntpsnmpd/netsnmp_daemonize.c')
-rw-r--r-- | ntpsnmpd/netsnmp_daemonize.c | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/ntpsnmpd/netsnmp_daemonize.c b/ntpsnmpd/netsnmp_daemonize.c index 44fad1ad3965..55f8c3596492 100644 --- a/ntpsnmpd/netsnmp_daemonize.c +++ b/ntpsnmpd/netsnmp_daemonize.c @@ -57,20 +57,12 @@ SOFTWARE. #include <stdlib.h> #endif -#if TIME_WITH_SYS_TIME -# ifdef WIN32 -# include <sys/timeb.h> -# else -# include <sys/time.h> -# endif -# include <time.h> +#ifdef WIN32 +# include <sys/timeb.h> #else -# if HAVE_SYS_TIME_H -# include <sys/time.h> -# else -# include <time.h> -# endif +# include <sys/time.h> #endif +#include <time.h> #include <sys/types.h> @@ -267,5 +259,5 @@ netsnmp_daemonize(int quit_immediately, int stderr_log) } #else /* !NEED_NETSNMP_DAEMONIZE */ -int netsnp_daemonize_bs; +NONEMPTY_TRANSLATION_UNIT #endif |