Proper fallback if capability dropping is not available
[strongswan.git] / src / libcharon / plugins / eap_gtc / eap_gtc_plugin.c
index c7fd3b0..df24cfa 100644 (file)
@@ -19,8 +19,9 @@
 
 #include <daemon.h>
 
 
 #include <daemon.h>
 
-/* missing in cababilities.h */
+#ifndef CAP_AUDIT_WRITE
 #define CAP_AUDIT_WRITE 29
 #define CAP_AUDIT_WRITE 29
+#endif
 
 METHOD(plugin_t, get_name, char*,
        eap_gtc_plugin_t *this)
 
 METHOD(plugin_t, get_name, char*,
        eap_gtc_plugin_t *this)