Commit 35eaa82d authored by Bernd Eckenfels's avatar Bernd Eckenfels

Make SELINUX compile.

parent 266c1405
...@@ -77,7 +77,7 @@ NET_LIB = $(NET_LIB_PATH)/lib$(NET_LIB_NAME).a ...@@ -77,7 +77,7 @@ NET_LIB = $(NET_LIB_PATH)/lib$(NET_LIB_NAME).a
ifeq ($(HAVE_SELINUX),1) ifeq ($(HAVE_SELINUX),1)
SE_PC_CFLAGS := $(shell $(PKG_CONFIG) --cflags libselinux) SE_PC_CFLAGS := $(shell $(PKG_CONFIG) --cflags libselinux)
SE_PC_LIBS := $(shell $(PKG_CONFIG) --libs libselinux || echo -lselinux) SE_PC_LIBS := $(shell $(PKG_CONFIG) --libs libselinux || echo -lselinux)
SELIB = $(PC_SELINUX) SELIB = $(SE_PC_LIBS)
CPPFLAGS += $(SE_PC_CFLAGS) CPPFLAGS += $(SE_PC_CFLAGS)
endif endif
......
...@@ -89,9 +89,6 @@ ...@@ -89,9 +89,6 @@
#include <net/if.h> #include <net/if.h>
#include <dirent.h> #include <dirent.h>
#if HAVE_SELINUX
#include <selinux/selinux.h>
#endif
#include "net-support.h" #include "net-support.h"
#include "pathnames.h" #include "pathnames.h"
#include "version.h" #include "version.h"
...@@ -102,6 +99,10 @@ ...@@ -102,6 +99,10 @@
#include "util.h" #include "util.h"
#include "proc.h" #include "proc.h"
#if HAVE_SELINUX
#include <selinux/selinux.h>
#endif
#if HAVE_AFBLUETOOTH #if HAVE_AFBLUETOOTH
#include <bluetooth/bluetooth.h> #include <bluetooth/bluetooth.h>
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment