[project @ 2005-08-04 22:51:42 by bursa]

Fix strndup() compiler warnings.

svn path=/import/netsurf/; revision=1840
This commit is contained in:
James Bursa 2005-08-04 22:51:42 +00:00
parent 4321094122
commit 3b4baa8008
2 changed files with 2 additions and 0 deletions

View File

@ -18,6 +18,7 @@
* any of it to be used.
*/
#define _GNU_SOURCE /* for strndup */
#include <assert.h>
#include <stdbool.h>
#include <stdlib.h>

View File

@ -11,6 +11,7 @@
* Form handling functions (implementation).
*/
#define _GNU_SOURCE /* for strndup */
#include <assert.h>
#include <ctype.h>
#include <stdbool.h>