summaryrefslogtreecommitdiff
path: root/gobject-introspection
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2008-09-26 20:09:31 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-09-26 20:09:31 +0000
commit7219ffda017ab5ea6b466e2d580e4fcefa84510f (patch)
tree0d7dda378f95879b4d2e55210a72633bf412a688 /gobject-introspection
parentc6b567a6e50e471f02b39285173ffd5252648e9d (diff)
downloadvala-7219ffda017ab5ea6b466e2d580e4fcefa84510f.tar.gz
Add missing stdlib.h include, patch by Alexander Bokovoy, fixes bug 547569
2008-09-26 Jürg Billeter <j@bitron.ch> * gobject-introspection/scanner.c: * gobject-introspection/scannerlexer.l: Add missing stdlib.h include, patch by Alexander Bokovoy, fixes bug 547569 svn path=/trunk/; revision=1786
Diffstat (limited to 'gobject-introspection')
-rw-r--r--gobject-introspection/scanner.c1
-rw-r--r--gobject-introspection/scannerlexer.l1
2 files changed, 2 insertions, 0 deletions
diff --git a/gobject-introspection/scanner.c b/gobject-introspection/scanner.c
index 834c5f6ba..e09ab0baa 100644
--- a/gobject-introspection/scanner.c
+++ b/gobject-introspection/scanner.c
@@ -23,6 +23,7 @@
*/
#include <string.h>
+#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
#include <glib.h>
diff --git a/gobject-introspection/scannerlexer.l b/gobject-introspection/scannerlexer.l
index 593c058c2..093b44fba 100644
--- a/gobject-introspection/scannerlexer.l
+++ b/gobject-introspection/scannerlexer.l
@@ -30,6 +30,7 @@
%{
#include <ctype.h>
#include <stdio.h>
+#include <stdlib.h>
#include "scanner.h"
#include "scannerparser.h"