summaryrefslogtreecommitdiff
path: root/pthread.h
diff options
context:
space:
mode:
Diffstat (limited to 'pthread.h')
-rw-r--r--pthread.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pthread.h b/pthread.h
index e9278c2..b678c68 100644
--- a/pthread.h
+++ b/pthread.h
@@ -75,6 +75,7 @@ struct timespec {
#define PTHREAD_CANCELED ((void *) 1)
#define PTHREAD_MUTEX_INITIALIZER {0 /* ignore internals */ }
+#define PTHREAD_ONCE_INIT { 0, PTHREAD_MUTEX_INITIALIZER }
typedef struct _pthread * pthread_t;
typedef struct {