diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-06 16:19:04 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-11-06 16:19:04 +0000 |
commit | fa644368ed7583c93dd1e4dffbafeb0e54167670 (patch) | |
tree | bf51d9c7e76d2e98935d7acf7331e68512095fe8 /package/uhttpd/src/uhttpd-utils.h | |
parent | cf313b63bc5fc41180552327fdbc4b7ca97fbb43 (diff) | |
download | mtk-20170518-fa644368ed7583c93dd1e4dffbafeb0e54167670.zip mtk-20170518-fa644368ed7583c93dd1e4dffbafeb0e54167670.tar.gz mtk-20170518-fa644368ed7583c93dd1e4dffbafeb0e54167670.tar.bz2 |
uhttpd: make it work without shadow password support
SVN-Revision: 23897
Diffstat (limited to 'package/uhttpd/src/uhttpd-utils.h')
-rw-r--r-- | package/uhttpd/src/uhttpd-utils.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/package/uhttpd/src/uhttpd-utils.h b/package/uhttpd/src/uhttpd-utils.h index 3514ce1..6a0a395 100644 --- a/package/uhttpd/src/uhttpd-utils.h +++ b/package/uhttpd/src/uhttpd-utils.h @@ -21,9 +21,12 @@ #include <stdarg.h> #include <fcntl.h> #include <pwd.h> -#include <shadow.h> #include <sys/stat.h> +#ifdef HAVE_SHADOW +#include <shadow.h> +#endif + #define min(x, y) (((x) < (y)) ? (x) : (y)) #define max(x, y) (((x) > (y)) ? (x) : (y)) |