summaryrefslogtreecommitdiff
path: root/package/nfs-utils/patches/patch-support_include_conffile_h
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-05-18 09:28:59 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-05-18 09:29:30 +0200
commitc68b9e5076094d60e8f767ffcd3bb9c224fc3fe9 (patch)
treef3d2b986be5a8f0c5039658fc21e420488c07e5d /package/nfs-utils/patches/patch-support_include_conffile_h
parent60bc3658b3ef53082c17817690ab0c6bf7f25e26 (diff)
fix musl compile, patches from AlpineLinux
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 *);