[libdispatch-changes] [48] trunk/configure.ac

source_changes at macosforge.org source_changes at macosforge.org
Sat Oct 3 06:16:43 PDT 2009


Revision: 48
          http://trac.macosforge.org/projects/libdispatch/changeset/48
Author:   robert at 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:
--------------
    trunk/configure.ac

Modified: trunk/configure.ac
===================================================================
--- 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>]])
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/libdispatch-changes/attachments/20091003/b232f7f4/attachment.html>


More information about the libdispatch-changes mailing list