]> granicus.if.org Git - libexpat/commitdiff
Avoid implicit declaration of function ‘syscall’ with -std=c89
authorSebastian Pipping <sebastian@pipping.org>
Wed, 7 Jun 2017 18:13:54 +0000 (20:13 +0200)
committerSebastian Pipping <sebastian@pipping.org>
Wed, 7 Jun 2017 18:14:41 +0000 (20:14 +0200)
expat/lib/xmlparse.c

index 081c786353d574cc80d81531e6f079b29759110e..3eea5bc428d5d01902e94efd7edca5017083d2df 100644 (file)
@@ -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>