diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-04 15:33:11 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-04 15:43:37 +0200 |
commit | 3bd453b13ded0a2ad9e08878deb73c62fca0566d (patch) | |
tree | 6a7bdd3623c956213cba081296771a5fb0f47092 | |
parent | f558b547157e52b27168c691948cd59eaca70140 (diff) | |
download | uhttpd-3bd453b13ded0a2ad9e08878deb73c62fca0566d.tar.gz |
add a missing definition for timegm() on mac os x
-rw-r--r-- | uhttpd-file.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/uhttpd-file.c b/uhttpd-file.c index 4296cdb..23e0db8 100644 --- a/uhttpd-file.c +++ b/uhttpd-file.c @@ -22,6 +22,9 @@ #include "uhttpd-mimetypes.h" +#ifdef __APPLE__ +time_t timegm (struct tm *tm); +#endif static const char * uh_file_mime_lookup(const char *path) { |