summaryrefslogtreecommitdiff
path: root/attr.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 /attr.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 'attr.c')
-rw-r--r--attr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/attr.c b/attr.c
index 72b5011..999935f 100644
--- a/attr.c
+++ b/attr.c
@@ -5,9 +5,11 @@
* This translation unit implements operations on thread attribute objects.
*/
+#include <errno.h>
+#include <string.h>
+
#include "pthread.h"
#include "implement.h"
-#include <string.h>
static int
is_attr(const pthread_attr_t *attr)