mirror of
https://github.com/libexpat/libexpat.git
synced 2025-04-13 08:02:56 +00:00
Avoid implicit declaration of function ‘syscall’ with -std=c89
This commit is contained in:
parent
120bbbc8cf
commit
ee43797ac9
1 changed files with 2 additions and 0 deletions
|
@ -2,6 +2,8 @@
|
|||
See the file COPYING for copying permission.
|
||||
*/
|
||||
|
||||
#define _GNU_SOURCE /* syscall prototype */
|
||||
|
||||
#include <stddef.h>
|
||||
#include <string.h> /* memset(), memcpy() */
|
||||
#include <assert.h>
|
||||
|
|
Loading…
Add table
Reference in a new issue