summaryrefslogtreecommitdiff
path: root/package/nfs-utils/patches/patch-support_include_conffile_h
diff options
context:
space:
mode:
Diffstat (limited to 'package/nfs-utils/patches/patch-support_include_conffile_h')
-rw-r--r--package/nfs-utils/patches/patch-support_include_conffile_h20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/nfs-utils/patches/patch-support_include_conffile_h b/package/nfs-utils/patches/patch-support_include_conffile_h
new file mode 100644
index 000000000..308a40a4f
--- /dev/null
+++ b/package/nfs-utils/patches/patch-support_include_conffile_h
@@ -0,0 +1,20 @@
+--- nfs-utils-1.3.0.orig/support/include/conffile.h 2014-03-25 16:12:07.000000000 +0100
++++ nfs-utils-1.3.0/support/include/conffile.h 2014-05-17 21:52:16.997590916 +0200
+@@ -33,7 +33,7 @@
+ #ifndef _CONFFILE_H_
+ #define _CONFFILE_H_
+
+-#include <sys/queue.h>
++#include "queue.h"
+ #include <ctype.h>
+
+ struct conf_list_node {
+@@ -49,7 +49,7 @@ struct conf_list {
+ extern char *conf_path;
+
+ extern int conf_begin(void);
+-extern int conf_decode_base64(u_int8_t *, u_int32_t *, u_char *);
++extern int conf_decode_base64(uint8_t *, uint32_t *, unsigned char *);
+ extern int conf_end(int, int);
+ extern void conf_free_list(struct conf_list *);
+ extern struct sockaddr *conf_get_address(char *, char *);