summaryrefslogtreecommitdiff
path: root/sync.c
diff options
context:
space:
mode:
authorbje <bje>1998-09-12 07:59:34 +0000
committerbje <bje>1998-09-12 07:59:34 +0000
commitb63e40988fde13ccd11dea845bd9008c56b21cdb (patch)
treee2db70ba088ec35c71c59781551775c4847ac0f0 /sync.c
parentbebf4fe4f6ae3d8296a6b9144876d08e5de2261a (diff)
1998-09-12 Ben Elliston <bje@cygnus.com>
* {most}.c: Include <errno.h> to get POSIX error values. * signal.c (pthread_sigmask): Only provide if HAVE_SIGSET_T is defined. * config.h: #undef features, don't #define them. This will be generated by autoconf very soon.
Diffstat (limited to 'sync.c')
-rw-r--r--sync.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync.c b/sync.c
index 87d5a30..b2b8323 100644
--- a/sync.c
+++ b/sync.c
@@ -6,6 +6,8 @@
* synchronisation.
*/
+#include <errno.h>
+
/* POSIX STANDARD: A thread may pass a value pointer to some data via
pthread_exit(). That pointer will be stored in a location supplied
as an argument to pthread_join().