aboutsummaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authorAnna “CyberTailor” <cyber@sysrq.in>2022-02-03 10:10:32 +0000
committerOmar Polo <op@omarpolo.com>2022-02-03 11:13:45 +0100
commit1f1f381068ac81bb86177e7d55e75f440522643f (patch)
tree15c22a3b054d44a42768bb089d512f7d6e62dbe4 /parse.y
parente20755180f19eae16b5781e562978faf05f9579b (diff)
include gmid.h before other headers to get all the prototypes
> implicit declaration of function 'asprintf'; did you mean 'vsprintf'?
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse.y b/parse.y
index d24005d..c25f384 100644
--- a/parse.y
+++ b/parse.y
@@ -23,6 +23,8 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include "gmid.h"
+
#include <ctype.h>
#include <errno.h>
#include <stdarg.h>
@@ -30,8 +32,6 @@
#include <stdlib.h>
#include <string.h>
-#include "gmid.h"
-
TAILQ_HEAD(files, file) files = TAILQ_HEAD_INITIALIZER(files);
static struct file {
TAILQ_ENTRY(file) entry;