diff options
author | root <root> | 2010-03-16 00:43:22 +0000 |
---|---|---|
committer | root <root> | 2010-03-16 00:43:22 +0000 |
commit | 7e19fcf1be7b0b288f7a12fb3d68743a6bed3e43 (patch) | |
tree | 44745929714104897cda657f0dc8ba3da3f2220a /libev.m4 | |
parent | f66f93858a4f29964c38f79765c17dea8fc394ca (diff) |
*** empty log message ***
Diffstat (limited to 'libev.m4')
-rw-r--r-- | libev.m4 | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,7 +11,8 @@ AC_CHECK_FUNC(clock_gettime, [], [ if test $(uname) = Linux; then AC_MSG_CHECKING(for clock_gettime syscall) AC_LINK_IFELSE([AC_LANG_PROGRAM( - [#include <syscall.h> + [#include <unistd.h> + #include <sys/syscall.h> #include <time.h>], [struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts)])], [ac_have_clock_syscall=1 |