summaryrefslogtreecommitdiff
path: root/uhttpd.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-04 15:18:01 +0200
committerFelix Fietkau <nbd@openwrt.org>2012-10-04 15:32:10 +0200
commit1bf5ab5aafe6c0da71eef9ad21bc129caa439599 (patch)
tree281c281fd01358c3fcafbe64029e8b97d44c90c1 /uhttpd.c
parentf2e3cb0f9de3df60fc6869fb819656cc1c75721c (diff)
downloaduhttpd-1bf5ab5aafe6c0da71eef9ad21bc129caa439599.tar.gz
define _XOPEN_SOURCE and _BSD_SOURCE globally, increase _XOPEN_SOURCE to include strdup et al on mac os x
Diffstat (limited to 'uhttpd.c')
-rw-r--r--uhttpd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/uhttpd.c b/uhttpd.c
index ebaa019..397d071 100644
--- a/uhttpd.c
+++ b/uhttpd.c
@@ -16,8 +16,6 @@
* limitations under the License.
*/
-#define _XOPEN_SOURCE 500 /* crypt() */
-
#include "uhttpd.h"
#include "uhttpd-utils.h"
#include "uhttpd-file.h"