summaryrefslogtreecommitdiffstats
path: root/libc/netbsd/net
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-06-05 17:51:20 -0700
committerElliott Hughes <enh@google.com>2013-06-05 17:58:08 -0700
commit36fa67bcdd90f18a3c68f8637ae836762407fa51 (patch)
tree67c47601c9dd09bf8fc97d15e872c264752477da /libc/netbsd/net
parentc5bfb62433751579e86d5fd24cddf3ae28a49b43 (diff)
downloadbionic-36fa67bcdd90f18a3c68f8637ae836762407fa51.zip
bionic-36fa67bcdd90f18a3c68f8637ae836762407fa51.tar.gz
bionic-36fa67bcdd90f18a3c68f8637ae836762407fa51.tar.bz2
Ensure header files using __BEGIN_DECLS include sys/cdefs.h.
We keep fixing these one-by-one; let's fix them all at once. Found thus: find . -name *.h | xargs grep -L sys/cdefs.h | xargs grep -l BEGIN_DECL | xargs grep -L sys/types Change-Id: I188842aa2484dc6176e96556d57c38a0f785b59b
Diffstat (limited to 'libc/netbsd/net')
-rw-r--r--libc/netbsd/net/reentrant.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/netbsd/net/reentrant.h b/libc/netbsd/net/reentrant.h
index 15507eb..60bff08 100644
--- a/libc/netbsd/net/reentrant.h
+++ b/libc/netbsd/net/reentrant.h
@@ -102,6 +102,7 @@
#include <pthread.h>
#include <signal.h>
+#include <sys/cdefs.h>
#define mutex_t pthread_mutex_t
#define MUTEX_INITIALIZER PTHREAD_MUTEX_INITIALIZER