patch-cifs_idmap_c 431 B

12345678910111213141516
  1. --- cifs-utils-6.1.orig/cifs.idmap.c 2013-07-02 21:13:33.000000000 +0200
  2. +++ cifs-utils-6.1/cifs.idmap.c 2013-10-28 07:33:27.000000000 +0100
  3. @@ -27,7 +27,13 @@
  4. #endif /* HAVE_CONFIG_H */
  5. #include <string.h>
  6. +#ifdef HAVE_GNU_GETOPT_LONG
  7. #include <getopt.h>
  8. +#else
  9. +#include "gnu_getopt.h"
  10. +#define getopt_long gnu_getopt_long
  11. +#define option gnu_option
  12. +#endif
  13. #include <syslog.h>
  14. #include <dirent.h>
  15. #include <sys/types.h>