summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2002-02-25 01:25:30 +0000
committerbde <bde@FreeBSD.org>2002-02-25 01:25:30 +0000
commit30b7ca1cdf48ed5cd06e85144354428fe923a928 (patch)
tree1a47583fed4f7064db4adb477eff04d2d121ca64 /lib/libutil
parent293f2d1cfe253c3913e4db497083c438f511d981 (diff)
downloadFreeBSD-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')
-rw-r--r--lib/libutil/_secure_path.c4
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
OpenPOWER on IntegriCloud