summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-11-14 22:58:35 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-11-14 22:58:35 +0800
commitdf0f1297eb5e98d73d07fda183568439ecbc5323 (patch)
treee90432dadd6340ae96c29b7bb700458e88d28af4
parentfe992bf4eace5f5a2e1322e445c45731397f14d9 (diff)
parent7e03e4d44304581749b43c5ea4511318dc29b8dd (diff)
merge
-rw-r--r--configure.ac3
-rw-r--r--includes.h5
2 files changed, 0 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 7130152..7199d7c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -498,10 +498,7 @@ AC_CHECK_FUNCS(setutxent utmpxname)
AC_CHECK_FUNCS(logout updwtmp logwtmp)
# POSIX monotonic time
-OLDCFLAGS="$CFLAGS"
-CFLAGS="$CFLAGS -D_POSIX_C_SOURCE=199309L"
AC_CHECK_FUNCS(clock_gettime)
-CFLAGS="$OLDCFLAGS"
# OS X monotonic time
AC_CHECK_HEADERS([mach/mach_time.h])
diff --git a/includes.h b/includes.h
index 0f12620..246882b 100644
--- a/includes.h
+++ b/includes.h
@@ -29,11 +29,6 @@
#include "options.h"
#include "debug.h"
-#if __linux__
-/* For clock_gettime */
-#define _POSIX_C_SOURCE 199309L
-#endif
-
#include <sys/types.h>
#include <sys/ioctl.h>
#include <sys/param.h> /* required for BSD4_4 define */