%code required{}
authorken <ken@mihrtec.com>
Thu, 22 Sep 2016 03:43:23 +0000 (20:43 -0700)
committerken <ken@mihrtec.com>
Thu, 22 Sep 2016 03:43:23 +0000 (20:43 -0700)
src/apc/parser.y

index ffc672d..e4b1bb5 100644 (file)
@@ -1,8 +1,10 @@
 /* Asset Package Compiler */
 /* Asset Package Compiler */
+%code requires{
+  #include <stdint.h>
+}
 %{
   #include <stdio.h>
   #include <string.h>
 %{
   #include <stdio.h>
   #include <string.h>
-  #include <stdint.h>
   #include <dirent.h>
   #include <png.h>
   #include <apc/ir.h>
   #include <dirent.h>
   #include <png.h>
   #include <apc/ir.h>