summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-10-19 15:48:05 +0200
committerJo-Philipp Wich <jow@openwrt.org>2012-10-19 15:48:05 +0200
commit610ed7cc236ff4cb08ace8df8ae0bede18bf38c5 (patch)
tree0929ae75762f32479ad5b9390715b130ee248bb8
parentd42932f9da6584c10d5d4bc7a41fa87817ac0677 (diff)
downloaduhttpd-610ed7cc236ff4cb08ace8df8ae0bede18bf38c5.tar.gz
re-add limits.h, required for PATH_MAX on certain libc implementations
-rw-r--r--uhttpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/uhttpd.h b/uhttpd.h
index 1877cd4..e4e726b 100644
--- a/uhttpd.h
+++ b/uhttpd.h
@@ -1,7 +1,7 @@
/*
* uhttpd - Tiny single-threaded httpd - Main header
*
- * Copyright (C) 2010 Jo-Philipp Wich <xm@subsignal.org>
+ * Copyright (C) 2010-2012 Jo-Philipp Wich <xm@subsignal.org>
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -28,6 +28,7 @@
#include <strings.h>
#include <unistd.h>
#include <signal.h>
+#include <limits.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/select.h>