summaryrefslogtreecommitdiffstats
path: root/src/parser.y
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2015-11-13 16:49:49 +0800
committerTing-Wei Lan <lantw44@gmail.com>2015-11-13 16:49:49 +0800
commit274227ed441e941cbc07e3ba90497dbf73db5684 (patch)
tree92990074f19cb6d71447248aa1333ca03edc8a93 /src/parser.y
parent5017c802e8aeda0d61715d2566f6a866311b63e3 (diff)
downloadcompiler2015-274227ed441e941cbc07e3ba90497dbf73db5684.tar
compiler2015-274227ed441e941cbc07e3ba90497dbf73db5684.tar.gz
compiler2015-274227ed441e941cbc07e3ba90497dbf73db5684.tar.bz2
compiler2015-274227ed441e941cbc07e3ba90497dbf73db5684.tar.lz
compiler2015-274227ed441e941cbc07e3ba90497dbf73db5684.tar.xz
compiler2015-274227ed441e941cbc07e3ba90497dbf73db5684.tar.zst
compiler2015-274227ed441e941cbc07e3ba90497dbf73db5684.zip
Enable POSIX extensions
Diffstat (limited to 'src/parser.y')
-rw-r--r--src/parser.y4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/parser.y b/src/parser.y
index 1b164ca..128788d 100644
--- a/src/parser.y
+++ b/src/parser.y
@@ -1,4 +1,8 @@
%{
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>