diff options
author | bde <bde@FreeBSD.org> | 2002-02-25 01:25:30 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2002-02-25 01:25:30 +0000 |
commit | 30b7ca1cdf48ed5cd06e85144354428fe923a928 (patch) | |
tree | 1a47583fed4f7064db4adb477eff04d2d121ca64 /lib/libutil/_secure_path.c | |
parent | 293f2d1cfe253c3913e4db497083c438f511d981 (diff) | |
download | FreeBSD-src-30b7ca1cdf48ed5cd06e85144354428fe923a928.zip FreeBSD-src-30b7ca1cdf48ed5cd06e85144354428fe923a928.tar.gz |
#include <stddef.h> for the definition of NULL instead of depending on
namespace pollution 2 layers deep in <sys/stat.h>.
Sorted includes.
Diffstat (limited to 'lib/libutil/_secure_path.c')
-rw-r--r-- | lib/libutil/_secure_path.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libutil/_secure_path.c b/lib/libutil/_secure_path.c index 5c6572d..550a092 100644 --- a/lib/libutil/_secure_path.c +++ b/lib/libutil/_secure_path.c @@ -24,9 +24,11 @@ __FBSDID("$FreeBSD$"); #include <sys/types.h> #include <sys/stat.h> -#include <syslog.h> + #include <errno.h> #include <libutil.h> +#include <stddef.h> +#include <syslog.h> /* * Check for common security problems on a given path |