Remove incorrect _POSIX_C_SOURCE

This commit is contained in:
Matt Johnston 2018-11-06 07:25:53 +08:00
parent 02ffdd09dc
commit 7e03e4d443
2 changed files with 0 additions and 8 deletions

View File

@ -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])

View File

@ -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 */