Add _GNU_SOURCE. Ugh.

svn path=/trunk/netsurf/; revision=5813
This commit is contained in:
John Mark Bell 2008-11-28 17:20:50 +00:00
parent baf8100d9b
commit ce93fc9d4c
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@
* URL parsing and joining (implementation).
*/
#define _GNU_SOURCE /* for strdup() */
#include <sys/types.h>
#include <assert.h>
#include <ctype.h>