File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 32
32
#include <stdio.h>
33
33
#include <errno.h> // for declaration of global errno variable
34
34
#include <fcntl.h>
35
+
36
+ // Undefine queue macros that will be defined in berkeley-db-1.xx headers
37
+ // below, in case they clash with system ones defined in headers above.
38
+ #undef LIST_HEAD
39
+ #undef LIST_ENTRY
40
+ #undef LIST_INIT
41
+ #undef LIST_INSERT_AFTER
42
+ #undef LIST_INSERT_HEAD
43
+ #undef LIST_REMOVE
44
+ #undef TAILQ_HEAD
45
+ #undef TAILQ_ENTRY
46
+ #undef TAILQ_INIT
47
+ #undef TAILQ_INSERT_HEAD
48
+ #undef TAILQ_INSERT_TAIL
49
+ #undef TAILQ_INSERT_AFTER
50
+ #undef TAILQ_REMOVE
51
+ #undef CIRCLEQ_HEAD
52
+ #undef CIRCLEQ_ENTRY
53
+ #undef CIRCLEQ_INIT
54
+ #undef CIRCLEQ_INSERT_AFTER
55
+ #undef CIRCLEQ_INSERT_BEFORE
56
+ #undef CIRCLEQ_INSERT_HEAD
57
+ #undef CIRCLEQ_INSERT_TAIL
58
+ #undef CIRCLEQ_REMOVE
59
+
35
60
#include <db.h>
36
61
#include <../../btree/btree.h>
37
62
You can’t perform that action at this time.
0 commit comments