summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/kbuild/files/kbuild-fix-acl-include.patch')
-rw-r--r--dev-util/kbuild/files/kbuild-fix-acl-include.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-util/kbuild/files/kbuild-fix-acl-include.patch b/dev-util/kbuild/files/kbuild-fix-acl-include.patch
new file mode 100644
index 0000000..72a356b
--- /dev/null
+++ b/dev-util/kbuild/files/kbuild-fix-acl-include.patch
@@ -0,0 +1,24 @@
+--- src/kmk/kmkbuiltin/mv.c.orig 2008-09-07 23:35:35.000000000 +0200
++++ src/kmk/kmkbuiltin/mv.c 2008-09-07 23:37:50.000000000 +0200
+@@ -48,9 +48,6 @@
+
+ #include <sys/types.h>
+ #ifndef _MSC_VER
+-# ifndef __OS2__
+-# include <sys/acl.h>
+-# endif
+ # include <sys/param.h>
+ # include <sys/time.h>
+ # include <sys/wait.h>
+@@ -91,6 +88,11 @@
+
+ static int do_move(char *, char *);
+ #ifdef CROSS_DEVICE_MOVE
++#ifndef _MSC_VER
++# ifndef __OS2__
++# include <sys/acl.h>
++# endif
++#endif
+ static int fastcopy(char *, char *, struct stat *);
+ static int copy(char *, char *);
+ #endif