summaryrefslogtreecommitdiffstats
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-02-27 06:12:47 +0000
committerbde <bde@FreeBSD.org>1998-02-27 06:12:47 +0000
commitf2b0787aaf81a0646d2ab8d2eb2dae5cbc505e18 (patch)
treed64bd3a10b3e55012184835044b00e313cd7c745 /include/stdlib.h
parent54cbf8c44a158b40748e6363b5f62017a6468fca (diff)
downloadFreeBSD-src-f2b0787aaf81a0646d2ab8d2eb2dae5cbc505e18.zip
FreeBSD-src-f2b0787aaf81a0646d2ab8d2eb2dae5cbc505e18.tar.gz
Moved include of <sys/cdefs.h> earlier for the same reasons as moving
it in <sys/types.h>. PR: 5785
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 4f2b1b5..af2a6f5 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -36,6 +36,8 @@
#ifndef _STDLIB_H_
#define _STDLIB_H_
+#include <sys/cdefs.h>
+
#include <machine/ansi.h>
#if !defined(_ANSI_SOURCE) && !defined(_POSIX_SOURCE)
@@ -79,8 +81,6 @@ typedef struct {
extern int __mb_cur_max;
#define MB_CUR_MAX __mb_cur_max
-#include <sys/cdefs.h>
-
__BEGIN_DECLS
void abort __P((void)) __dead2;
int abs __P((int)) __pure2;
OpenPOWER on IntegriCloud