[PATCH] <sys/unistd.h>

walt wa1ter at myrealbox.com
Sun Oct 8 19:52:02 PDT 2006


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






More information about the Submit mailing list