diff options
Diffstat (limited to 'usr/src/head/unistd.h')
-rw-r--r-- | usr/src/head/unistd.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/usr/src/head/unistd.h b/usr/src/head/unistd.h index a25da31d15..967c8179bc 100644 --- a/usr/src/head/unistd.h +++ b/usr/src/head/unistd.h @@ -20,6 +20,7 @@ */ /* + * Copyright 2014 PALO, Richard. * Copyright 2014 Garrett D'Amore <garrett@damore.org> * Copyright (c) 2013 Gary Mills * @@ -36,6 +37,7 @@ #include <sys/feature_tests.h> +#include <sys/null.h> #include <sys/types.h> #include <sys/unistd.h> @@ -178,14 +180,6 @@ extern "C" { #define _POSIX_VDISABLE 0 #endif -#ifndef NULL -#if defined(_LP64) -#define NULL 0L -#else -#define NULL 0 -#endif -#endif - #define STDIN_FILENO 0 #define STDOUT_FILENO 1 #define STDERR_FILENO 2 |