]> granicus.if.org Git - re2c/commitdiff
Fixed headers that were not self-contained.
authorUlya Trofimovich <skvadrik@gmail.com>
Wed, 2 Aug 2017 20:43:36 +0000 (21:43 +0100)
committerUlya Trofimovich <skvadrik@gmail.com>
Wed, 2 Aug 2017 20:43:36 +0000 (21:43 +0100)
Used the following command to find errors:

    for h in $(find src/ -name '*.h*'); do echo "CHECKING $h"; g++ -I. -c $h -o foo.o; done

re2c/src/adfa/action.h
re2c/src/util/hash32.h

index 7f95a3cae00d2f8b21cd862d97ddca29d87332e8..5e7762be56f0f716b332918c36dec745f630bdff 100644 (file)
@@ -5,6 +5,7 @@
 #include <vector>
 
 #include "src/code/label.h"
+#include "src/dfa/tcmd.h"
 #include "src/util/c99_stdint.h"
 #include "src/util/uniq_vector.h"
 
index 3ee612afdd4ce1e0186fd49615c876d7e27a5fdd..87d7cee03aeff0509f0901f81255952db6aec83c 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _RE2C_UTIL_HASH32_
 #define _RE2C_UTIL_HASH32_
 
+#include <stddef.h>
 #include "src/util/c99_stdint.h"
 
 namespace re2c