patch-misc_e2undo_c 360 B

1234567891011
  1. optind seems to need unistd.h, not only getopt.h
  2. --- e2fsprogs-1.42.4.orig/misc/e2undo.c 2012-03-18 19:18:33.000000000 +0100
  3. +++ e2fsprogs-1.42.4/misc/e2undo.c 2012-07-26 18:48:09.000000000 +0200
  4. @@ -20,6 +20,7 @@
  5. #if HAVE_ERRNO_H
  6. #include <errno.h>
  7. #endif
  8. +#include <unistd.h>
  9. #include "ext2fs/tdb.h"
  10. #include "ext2fs/ext2fs.h"
  11. #include "nls-enable.h"