1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2025-04-21 12:27:27 +03:00

[package] uhttpd: make it work without shadow password support

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23897 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow
2010-11-06 16:19:04 +00:00
parent c9a09f8171
commit 232ec2e0d2
3 changed files with 18 additions and 2 deletions

View File

@@ -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))