summaryrefslogtreecommitdiff
path: root/package/cifs-utils/patches/patch-mount_cifs_c
blob: 5835148089464a2631caca48dbea859f29b60fe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- cifs-utils-6.7.orig/mount.cifs.c	2017-03-02 17:51:05.000000000 +0100
+++ cifs-utils-6.7/mount.cifs.c	2017-03-27 18:57:14.519371156 +0200
@@ -34,7 +34,13 @@
 #include <sys/utsname.h>
 #include <sys/socket.h>
 #include <arpa/inet.h>
+#ifdef HAVE_GNU_GETOPT_LONG
 #include <getopt.h>
+#else
+#include "gnu_getopt.h"
+#define getopt_long gnu_getopt_long
+#define option gnu_option
+#endif
 #include <errno.h>
 #include <netdb.h>
 #include <string.h>
@@ -61,7 +67,6 @@
 #include "mount.h"
 #include "util.h"
 #include "resolve_host.h"
-#include "data_blob.h"
 
 #ifndef MS_MOVE 
 #define MS_MOVE 8192