From 8bf35c0ae3c3ebc53eaaabf4cac0d0b7f5f63888 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 9 Feb 2013 19:56:22 +0100 Subject: [PATCH] libargv/argv_loc.h: don't re-define NULL; rely on stddef.h from gnulib --- libargv/argv_loc.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libargv/argv_loc.h b/libargv/argv_loc.h index cb02a04..e8cf822 100644 --- a/libargv/argv_loc.h +++ b/libargv/argv_loc.h @@ -18,6 +18,7 @@ #define __ARGV_LOC_H__ #include "argv.h" /* to get the types */ +#include #ifdef __cplusplus extern "C" { @@ -26,11 +27,6 @@ extern "C" { /* * generic constants */ -/* special consideration for NULL. some compilers bitch if I redefine it */ -#ifndef NULL -#define NULL 0L -#endif - #undef MIN #define MIN(a,b) ((a) < (b) ? (a) : (b))