summaryrefslogtreecommitdiffstats
path: root/libutil/_secure_path.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-02-25 01:25:30 +0000
committerBruce Evans <bde@FreeBSD.org>2002-02-25 01:25:30 +0000
commitc19df554363a481b867cff769b1fd2533e12a52b (patch)
tree6438130817512180ad86ea3eac4c360658dcbca6 /libutil/_secure_path.c
parent84d62d03edcf076b7da450d7fb89938c947c448c (diff)
downloadpw-darwin-c19df554363a481b867cff769b1fd2533e12a52b.tar.gz
pw-darwin-c19df554363a481b867cff769b1fd2533e12a52b.tar.zst
pw-darwin-c19df554363a481b867cff769b1fd2533e12a52b.zip
#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 'libutil/_secure_path.c')
-rw-r--r--libutil/_secure_path.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libutil/_secure_path.c b/libutil/_secure_path.c
index 5c6572d..550a092 100644
--- a/libutil/_secure_path.c
+++ b/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