summaryrefslogtreecommitdiff
path: root/lib/libpthread/include
diff options
context:
space:
mode:
authorPeter Galbavy <peter@cvs.openbsd.org>1998-07-21 19:50:20 +0000
committerPeter Galbavy <peter@cvs.openbsd.org>1998-07-21 19:50:20 +0000
commit55f6d1f57b46714c563a933844a6f7c8e71c293c (patch)
treeece46160b18ba5fc2278dc52b4260a0dc784b730 /lib/libpthread/include
parent57c8ec29e7edfecff534599d5b59c7ab27a2ca03 (diff)
missed one
Diffstat (limited to 'lib/libpthread/include')
-rw-r--r--lib/libpthread/include/pthread/posix.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/libpthread/include/pthread/posix.h b/lib/libpthread/include/pthread/posix.h
new file mode 100644
index 00000000000..87eae80835e
--- /dev/null
+++ b/lib/libpthread/include/pthread/posix.h
@@ -0,0 +1,31 @@
+/* ==== posix.h ============================================================
+ * Copyright (c) 1993 by Chris Provenzano, proven@athena.mit.edu
+ *
+ * Description : Convert an Ultrix-4.2 system to a more or less POSIX system.
+ *
+ * $Id: posix.h,v 1.1 1998/07/21 19:50:19 peter Exp $
+ *
+ * 1.00 93/07/20 proven
+ * -Started coding this file.
+ */
+
+#ifndef _PTHREAD_POSIX_H_
+#define _PTHREAD_POSIX_H_
+
+#include <sys/cdefs.h>
+
+/* More stuff for compiling */
+#if defined(__GNUC__)
+#define __INLINE extern inline
+#else
+#define __INLINE static
+#endif
+
+/* Make sure we have size_t defined */
+#include <pthread/types.h>
+
+#ifndef __WAIT_STATUS
+#define __WAIT_STATUS int *
+#endif
+
+#endif