aboutsummaryrefslogtreecommitdiff
blob: 9ed8a9f3af366ebf41682fa320f6014522a2a1b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- /dev/null
+++ b/missingdefs.h
@@ -0,0 +1,9 @@
+#ifndef PARSER_MISSINGDEFS_H
+#define PARSER_MISSINGDEFS_H
+
+typedef int (*__compar_fn_t) (const void *, const void *);
+typedef __compar_fn_t comparison_fn_t;
+typedef void (*__free_fn_t) (void *__nodep);
+
+#endif
+
--- a/parser_alias.c
+++ b/parser_alias.c
@@ -24,6 +24,7 @@
 #include "immunix.h"
 #include "parser.h"
 #include "profile.h"
+#include "missingdefs.h"
 
 struct alias_rule {
 	char *from;
--- a/parser_symtab.c
+++ b/parser_symtab.c
@@ -24,6 +24,7 @@
 
 #include "immunix.h"
 #include "parser.h"
+#include "missingdefs.h"
 
 enum var_type {
 	sd_boolean,