diff options
author | Jim Meyering <jim@meyering.net> | 2003-06-06 20:17:37 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-06-06 20:17:37 +0000 |
commit | 01170d044ad221b4e465a5aaa57ccca4314cee8a (patch) | |
tree | 3c1775e38b16280f8c7de563899c1ed7add58cd2 | |
parent | a4fa7bc1f0c322aafca60030cbf5b85ba9a619af (diff) | |
download | coreutils-01170d044ad221b4e465a5aaa57ccca4314cee8a.tar.xz |
Include <stddef.h>.
(NULL): Don't define, since <stddef.h> does that.
-rw-r--r-- | lib/modechange.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/modechange.c b/lib/modechange.c index a102b6956..8cec11d41 100644 --- a/lib/modechange.c +++ b/lib/modechange.c @@ -1,5 +1,7 @@ /* modechange.c -- file mode manipulation - Copyright (C) 1989, 1990, 1997, 1998, 1999, 2001 Free Software Foundation, Inc. + + Copyright (C) 1989, 1990, 1997, 1998, 1999, 2001, 2003 Free Software + Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -31,6 +33,7 @@ #include "modechange.h" #include <sys/stat.h> #include "xstrtol.h" +#include <stddef.h> #if STDC_HEADERS # include <stdlib.h> @@ -38,10 +41,6 @@ char *malloc (); #endif -#ifndef NULL -# define NULL 0 -#endif - #if STAT_MACROS_BROKEN # undef S_ISDIR #endif |