repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bump version to 1.8.90
[deb_libnfs.git]
/
include
/
nfsc
/
libnfs-zdr.h
diff --git
a/include/nfsc/libnfs-zdr.h
b/include/nfsc/libnfs-zdr.h
index 55daa1221a7f4430996526afe464781ba55a6f8f..5d9fe7c2cbdb387cf48e8e61de33d51927cd53cd 100644
(file)
--- a/
include/nfsc/libnfs-zdr.h
+++ b/
include/nfsc/libnfs-zdr.h
@@
-26,13
+26,16
@@
* and slightly modified.
************************************************************/
* and slightly modified.
************************************************************/
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
#ifndef _LIBNFS_ZDR_H_
#define _LIBNFS_ZDR_H_
#ifndef _LIBNFS_ZDR_H_
#define _LIBNFS_ZDR_H_
+#ifdef WIN32
+#ifndef CADDR_T_DEFINED
+#define CADDR_T_DEFINED
+typedef char *caddr_t;
+#endif
+#endif
+
#include <stdio.h>
#include <assert.h>
#include <stdint.h>
#include <stdio.h>
#include <assert.h>
#include <stdint.h>
@@
-45,6
+48,7
@@
/* we dont need these */
typedef void CLIENT;
struct svc_req {
/* we dont need these */
typedef void CLIENT;
struct svc_req {
+ int _dummy_;
};
typedef void SVCXPRT;
};
typedef void SVCXPRT;
@@
-94,8
+98,6
@@
typedef uint32_t bool_t;
typedef int (*zdrproc_t) (ZDR *, void *,...);
typedef int (*zdrproc_t) (ZDR *, void *,...);
-/* XXX find out what we can get rid of */
-
#define AUTH_NONE 0
#define AUTH_NULL 0
#define AUTH_UNIX 1
#define AUTH_NONE 0
#define AUTH_NULL 0
#define AUTH_UNIX 1