Proper fallback if capability dropping is not available
[strongswan.git] / src / charon-nm / nm / nm_backend.c
index a9ad9bd..f36cf1f 100644 (file)
@@ -22,7 +22,9 @@
 #include <daemon.h>
 #include <processing/jobs/callback_job.h>
 
 #include <daemon.h>
 #include <processing/jobs/callback_job.h>
 
+#ifndef CAP_DAC_OVERRIDE
 #define CAP_DAC_OVERRIDE 1
 #define CAP_DAC_OVERRIDE 1
+#endif
 
 typedef struct nm_backend_t nm_backend_t;
 
 
 typedef struct nm_backend_t nm_backend_t;