1
0

patch-mount_cifs_c 450 B

12345678910111213141516
  1. --- cifs-utils-6.1.orig/mount.cifs.c 2013-07-02 21:13:33.000000000 +0200
  2. +++ cifs-utils-6.1/mount.cifs.c 2013-10-28 07:33:27.000000000 +0100
  3. @@ -34,7 +34,13 @@
  4. #include <sys/utsname.h>
  5. #include <sys/socket.h>
  6. #include <arpa/inet.h>
  7. +#ifdef HAVE_GNU_GETOPT_LONG
  8. #include <getopt.h>
  9. +#else
  10. +#include "gnu_getopt.h"
  11. +#define getopt_long gnu_getopt_long
  12. +#define option gnu_option
  13. +#endif
  14. #include <errno.h>
  15. #include <netdb.h>
  16. #include <string.h>