summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-12-21 04:49:00 +0000
committerguenther <guenther@openbsd.org>2014-12-21 04:49:00 +0000
commit0dc84f8843b5c066e1628223b400f0c71d7c0539 (patch)
treef53f7d640ef42828257c6caf7cf545b4490fc7dc
parentStop pulling in <arpa/inet.h> or <arpa/nameser.h> when unnecessary. (diff)
downloadwireguard-openbsd-0dc84f8843b5c066e1628223b400f0c71d7c0539.tar.xz
wireguard-openbsd-0dc84f8843b5c066e1628223b400f0c71d7c0539.zip
<sys/endian.h> needs <sys/cdefs.h>
found previously by someone whose email I've lost; rediscovered by miod@ ok millert@ deraadt@
-rw-r--r--sys/sys/endian.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/endian.h b/sys/sys/endian.h
index e4b90f1b16d..29d59558102 100644
--- a/sys/sys/endian.h
+++ b/sys/sys/endian.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: endian.h,v 1.24 2014/07/20 21:41:54 guenther Exp $ */
+/* $OpenBSD: endian.h,v 1.25 2014/12/21 04:49:00 guenther Exp $ */
/*-
* Copyright (c) 1997 Niklas Hallqvist. All rights reserved.
@@ -37,6 +37,7 @@
#ifndef _SYS_ENDIAN_H_
#define _SYS_ENDIAN_H_
+#include <sys/cdefs.h>
#include <sys/_endian.h>
/* Public names */