[project @ 2005-08-20 23:04:35 by bursa]
Fix strndup() warnings. svn path=/import/netsurf/; revision=1850
This commit is contained in:
parent
8afd957986
commit
4af7520647
|
@ -8,6 +8,8 @@
|
|||
/** \file
|
||||
* UCS conversion tables and RISC OS-specific UTF-8 text handling
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE /* for strndup */
|
||||
#include <assert.h>
|
||||
#include <limits.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
* See http://www.vigay.com/inet/inet_url.html
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE /* for strndup */
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
* UTF-8 manipulation functions (implementation).
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE /* for strndup */
|
||||
#include <assert.h>
|
||||
#include <errno.h>
|
||||
#include <stdlib.h>
|
||||
|
|
Loading…
Reference in New Issue