mirror of
https://github.com/clearml/dropbear
synced 2025-01-31 02:46:58 +00:00
Remove incorrect _POSIX_C_SOURCE
This commit is contained in:
parent
02ffdd09dc
commit
7e03e4d443
@ -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])
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user