summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-08-10 13:41:31 +0000
committerstefanf <stefanf@FreeBSD.org>2005-08-10 13:41:31 +0000
commitb7fb0e474dff653920e99bb0c9311cba3723d327 (patch)
tree6bb7a2de7b66b2346cfbcb2a4aa07aa651b46c4d /lib
parent22440a116659d9da0c0dcaa43b3533f292e42f2b (diff)
downloadFreeBSD-src-b7fb0e474dff653920e99bb0c9311cba3723d327.zip
FreeBSD-src-b7fb0e474dff653920e99bb0c9311cba3723d327.tar.gz
Move <sys/cdefs.h> up to reduce diff to NetBSD.
Diffstat (limited to 'lib')
-rw-r--r--lib/libedit/sys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libedit/sys.h b/lib/libedit/sys.h
index 323aebe..9b1f040 100644
--- a/lib/libedit/sys.h
+++ b/lib/libedit/sys.h
@@ -40,6 +40,8 @@
#ifndef _h_sys
#define _h_sys
+#include <sys/cdefs.h>
+
#ifndef public
# define public /* Externally visible functions/variables */
#endif
@@ -53,8 +55,6 @@
/* When we want to hide everything */
#endif
-#include <sys/cdefs.h>
-
#ifndef _PTR_T
# define _PTR_T
typedef void *ptr_t;
OpenPOWER on IntegriCloud