summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-04 15:33:11 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-10-04 15:43:37 +0200
commit3bd453b13ded0a2ad9e08878deb73c62fca0566d (patch)
tree6a7bdd3623c956213cba081296771a5fb0f47092
parentf558b547157e52b27168c691948cd59eaca70140 (diff)
downloaduhttpd-3bd453b13ded0a2ad9e08878deb73c62fca0566d.tar.gz
add a missing definition for timegm() on mac os x
-rw-r--r--uhttpd-file.c3
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)
{