summaryrefslogtreecommitdiff
path: root/attr.c
diff options
context:
space:
mode:
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)