Revision
48
Author
robert@fledge.watson.org
Date
2009-10-03 06:16:41 -0700 (Sat, 03 Oct 2009)

Log Message

time.h is the portable place to lock for CLOCK_ constants, not sys/time.h.

Modified Paths

Diff

Modified: trunk/configure.ac (47 => 48)


--- trunk/configure.ac	2009-10-03 13:14:28 UTC (rev 47)
+++ trunk/configure.ac	2009-10-03 13:16:41 UTC (rev 48)
@@ -173,7 +173,7 @@
 # Find functions and declarations we care about.
 #
 AC_CHECK_DECLS([CLOCK_UPTIME, CLOCK_MONOTONIC], [], [],
-  [[#include <sys/time.h>]])
+  [[#include <time.h>]])
 AC_CHECK_DECLS([EVFILT_SESSION, NOTE_NONE, NOTE_REAP, NOTE_SIGNAL], [], [],
   [[#include <sys/event.h>]])
 AC_CHECK_DECLS([VQ_UPDATE, VQ_VERYLOWDISK], [], [], [[#include <sys/mount.h>]])