patch-cifscreds_c 443 B

12345678910111213141516
  1. --- cifs-utils-6.1.orig/cifscreds.c 2013-07-02 21:13:33.000000000 +0200
  2. +++ cifs-utils-6.1/cifscreds.c 2013-10-28 07:33:27.000000000 +0100
  3. @@ -27,7 +27,13 @@
  4. #include <string.h>
  5. #include <ctype.h>
  6. #include <keyutils.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 "mount.h"
  16. #include "resolve_host.h"