summaryrefslogtreecommitdiff
path: root/filesystems/openafs-devel/patches/patch-src-external-heimdal-roken-roken.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/openafs-devel/patches/patch-src-external-heimdal-roken-roken.h.in')
-rw-r--r--filesystems/openafs-devel/patches/patch-src-external-heimdal-roken-roken.h.in52
1 files changed, 52 insertions, 0 deletions
diff --git a/filesystems/openafs-devel/patches/patch-src-external-heimdal-roken-roken.h.in b/filesystems/openafs-devel/patches/patch-src-external-heimdal-roken-roken.h.in
new file mode 100644
index 00000000000..aad6dde340b
--- /dev/null
+++ b/filesystems/openafs-devel/patches/patch-src-external-heimdal-roken-roken.h.in
@@ -0,0 +1,52 @@
+$NetBSD: patch-src-external-heimdal-roken-roken.h.in,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+
+--- src/external/heimdal/roken/roken.h.in.orig 2012-04-30 16:41:30.000000000 -0400
++++ src/external/heimdal/roken/roken.h.in 2012-05-02 12:38:31.000000000 -0400
+@@ -278,6 +278,7 @@
+ #define rk_PATH_DELIM '\\'
+ #endif
+
++#ifndef _KERNEL
+ #ifndef HAVE_SSIZE_T
+ #ifndef SSIZE_T_DEFINED
+ #ifdef ssize_t
+@@ -291,6 +292,7 @@
+ #define SSIZE_T_DEFINED
+ #endif /* SSIZE_T_DEFINED */
+ #endif /* HAVE_SSIZE_T */
++#endif
+
+ #include <roken-common.h>
+
+@@ -614,6 +616,7 @@
+ #endif
+
+ #ifndef HAVE_LSTAT
++struct stat;
+ #define lstat rk_lstat
+ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL lstat(const char *, struct stat *);
+ #endif
+@@ -689,6 +692,7 @@
+ #endif
+
+ #ifndef HAVE_WRITEV
++struct iovec;
+ #define writev rk_writev
+ ROKEN_LIB_FUNCTION ssize_t ROKEN_LIB_CALL
+ writev(int, const struct iovec *, int);
+@@ -747,6 +751,7 @@
+ #endif
+ #endif
+
++struct tm;
+ ROKEN_LIB_FUNCTION time_t ROKEN_LIB_CALL tm2time (struct tm, int);
+
+ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL unix_verify_user(char *, char *);
+@@ -888,6 +893,7 @@
+ };
+ #endif
+
++struct addrinfo;
+ #ifndef HAVE_GETADDRINFO
+ #define getaddrinfo rk_getaddrinfo
+ ROKEN_LIB_FUNCTION int ROKEN_LIB_CALL