summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@gnome.org>2014-02-19 17:40:50 +0100
committerAntoine Jacoutot <ajacoutot@gnome.org>2014-02-19 18:39:25 +0100
commit76316783e3ac56365d0133cd17734b3b41f07360 (patch)
treeb6c693b300ae9e6627437f2eda0341661c3e5bb8
parent89e84d06dffbc732bac26a105244b7270c42e3ec (diff)
downloadgobject-introspection-76316783e3ac56365d0133cd17734b3b41f07360.tar.gz
giscanner: prevent implicit declarations
https://bugzilla.gnome.org/show_bug.cgi?id=724737
-rw-r--r--giscanner/scannerlexer.l1
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/scannerlexer.l b/giscanner/scannerlexer.l
index 42f85eab..d9648a4e 100644
--- a/giscanner/scannerlexer.l
+++ b/giscanner/scannerlexer.l
@@ -31,6 +31,7 @@
%{
#include <ctype.h>
#include <stdio.h>
+#include <string.h>
#ifndef _WIN32
#include <limits.h>
#endif