1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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
|