diff options
author | 1998-07-21 19:50:19 +0000 | |
---|---|---|
committer | 1998-07-21 19:50:19 +0000 | |
commit | 0d1c123fbaec9b514a469c9c7f7d65bd45af982f (patch) | |
tree | d7e9e3a9d760ca8a828452df10ee89f339463885 /lib/libpthread | |
parent | this will now compile on i386 if you move arch/i386/machdep.h to (diff) | |
download | wireguard-openbsd-0d1c123fbaec9b514a469c9c7f7d65bd45af982f.tar.xz wireguard-openbsd-0d1c123fbaec9b514a469c9c7f7d65bd45af982f.zip |
missed one
Diffstat (limited to 'lib/libpthread')
-rw-r--r-- | lib/libpthread/include/pthread/posix.h | 31 |
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 |