File libcap-2.11-build-fix.diff of Package libcap

--- libcap/Makefile-dist	2008-08-06 14:56:15.000000000 +0200
+++ libcap/Makefile	2008-08-06 14:56:46.000000000 +0200
@@ -27,7 +27,7 @@
 endif
 
 _makenames: _makenames.c cap_names.sed
-	$(BUILD_CC) $(BUILD_CFLAGS) $< -o $@
+	$(BUILD_CC) $(BUILD_CFLAGS) -Iinclude $< -o $@
 
 cap_names.h: _makenames
 	./_makenames > cap_names.h
openSUSE Build Service is sponsored by