We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3721f7 commit dd93afcCopy full SHA for dd93afc
contrib/sepgsql/label.c
@@ -10,6 +10,16 @@
10
*/
11
#include "postgres.h"
12
13
+#include <selinux/label.h>
14
+
15
+/*
16
+ * <selinux/label.h> includes <stdbool.h>, which creates an incompatible
17
+ * #define for bool. Get rid of that so we can use our own typedef.
18
+ * (We don't care if <stdbool.h> redefines "true"/"false"; those are close
19
+ * enough.)
20
+ */
21
+#undef bool
22
23
#include "access/heapam.h"
24
#include "access/htup_details.h"
25
#include "access/genam.h"
@@ -37,8 +47,6 @@
37
47
38
48
#include "sepgsql.h"
39
49
40
-#include <selinux/label.h>
41
-
42
50
/*
43
51
* Saved hook entries (if stacked)
44
52
0 commit comments