summaryrefslogtreecommitdiff
path: root/desktop/save_complete.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2010-04-24 15:22:17 +0000
committerVincent Sanders <vince@netsurf-browser.org>2010-04-24 15:22:17 +0000
commit03bb3e863663a034434b000fbfce2de7e908ba24 (patch)
tree0527de17bf999b709511880217423cea13a2ad51 /desktop/save_complete.c
parentfe151c135d3ffe3dff155d51f4f2680024ae8382 (diff)
downloadnetsurf-03bb3e863663a034434b000fbfce2de7e908ba24.tar.gz
netsurf-03bb3e863663a034434b000fbfce2de7e908ba24.tar.bz2
remove _GNU_SOURCE define from everywhere.
strndup is not standard so provide an implementation. svn path=/trunk/netsurf/; revision=10474
Diffstat (limited to 'desktop/save_complete.c')
-rw-r--r--desktop/save_complete.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/save_complete.c b/desktop/save_complete.c
index d0a657bcd..2f698de8d 100644
--- a/desktop/save_complete.c
+++ b/desktop/save_complete.c
@@ -1,4 +1,4 @@
-/*
+#/*
* Copyright 2004 John M Bell <jmb202@ecs.soton.ac.uk>
* Copyright 2004-2007 James Bursa <bursa@users.sourceforge.net>
*
@@ -23,7 +23,6 @@
#include "utils/config.h"
-#define _GNU_SOURCE /* for strndup */
#include <assert.h>
#include <ctype.h>
#include <errno.h>