patch-cifscreds_c 438 B

12345678910111213141516
  1. --- cifs-utils-6.3.orig/cifscreds.c 2014-01-09 17:19:53.000000000 +0100
  2. +++ cifs-utils-6.3/cifscreds.c 2014-05-06 13:52:11.778306692 +0200
  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 "cifskey.h"
  16. #include "mount.h"