DragonFly BSD
DragonFly submit List (threaded) for 2006-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

[PATCH] <sys/unistd.h>


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Sun, 8 Oct 2006 19:52:02 -0700

This fixes the build of pkgsrc glib2 on DragonFly:

--- sys/unistd.h.orig   2006-10-08 10:27:48.000000000 -0700
+++ sys/unistd.h        2006-10-08 19:44:27.000000000 -0700
@@ -165,6 +165,7 @@
 /* ??? #define _POSIX_FSYNC                    1 */
 #define        _POSIX_MAPPED_FILES             200112L
 #define        _POSIX_SHARED_MEMORY_OBJECTS    200112L
+#define        _POSIX_MONOTONIC_CLOCK          200112L

 /* POSIX.1B sysconf options */
 #define _SC_ASYNCHRONOUS_IO    28
@@ -192,6 +193,7 @@
 #define _SC_SEM_VALUE_MAX      50
 #define _SC_SIGQUEUE_MAX       51
 #define _SC_TIMER_MAX          52
+#define _SC_MONOTONIC_CLOCK    56

 /* POSIX.1B pathconf and fpathconf options */
 #define _PC_ASYNC_IO           53




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]