--- lib/libcap/Makefile.orig	2008-06-20 12:17:42.000000000 +0700
+++ lib/libcap/Makefile	2008-06-20 12:17:51.000000000 +0700
@@ -23,7 +23,7 @@
 INCLS=libcap.h cap_names.h $(INCS)
 OBJS=$(addsuffix .o, $(FILES))
 
-all: $(LIBNAME)
+all:
 
 _makenames: _makenames.c cap_names.sed
 	$(CC) $(CFLAGS) $(LDFLAGS) $< -o $@
--- modules/mod_cap.c.orig	2008-06-20 12:18:09.000000000 +0700
+++ modules/mod_cap.c	2008-06-20 12:18:45.000000000 +0700
@@ -42,10 +42,8 @@
 #  define _LINUX_BYTEORDER_GENERIC_H
 # endif
 
-# ifdef HAVE_LINUX_CAPABILITY_H
-#  include <linux/capability.h>
-# endif /* HAVE_LINUX_CAPABILITY_H */
-# include "../lib/libcap/include/sys/capability.h"
+#include <linux/capability.h>
+#include <sys/capability.h>
 
 /* What are these for? */
 # undef WNOHANG
