Dont include config.h from libnfs-zdr.h
[deb_libnfs.git] / include / nfsc / libnfs-zdr.h
index 44f73786c91d97330884ee67fb01f947183eb1ef..8f20844343705c6ecb3acb475a81766ef5dc077d 100644 (file)
@@ -26,8 +26,6 @@
  * and slightly modified.
  ************************************************************/
 
-#include "config.h"
-
 #ifndef _LIBNFS_ZDR_H_
 #define _LIBNFS_ZDR_H_
 
@@ -58,8 +56,12 @@ typedef void SVCXPRT;
 #define IZDR_PUT_BOOL(...)             assert(0)
 #define IZDR_GET_BOOL(...)             (assert(0), 0)
 
+#ifndef TRUE
 #define TRUE           1
+#endif
+#ifndef FALSE
 #define FALSE          0
+#endif
 
 enum zdr_op {
        ZDR_ENCODE = 0,
@@ -178,8 +180,8 @@ struct rejected_reply {
        enum reject_stat stat;
        union {
                struct {
-                       u_long low;
-                       u_long high;
+                       uint32_t low;
+                       uint32_t high;
                } mismatch_info;
                enum auth_stat stat;
        } reject_data;