diff options
author | Bruce Evans <bde@FreeBSD.org> | 2002-02-25 01:25:30 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2002-02-25 01:25:30 +0000 |
commit | c19df554363a481b867cff769b1fd2533e12a52b (patch) | |
tree | 6438130817512180ad86ea3eac4c360658dcbca6 /libutil/_secure_path.c | |
parent | 84d62d03edcf076b7da450d7fb89938c947c448c (diff) | |
download | pw-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.c | 4 |
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 |