patch-misc_e2undo_c 362 B

1234567891011
  1. optind seems to need unistd.h, not only getopt.h
  2. --- e2fsprogs-1.41.12.orig/misc/e2undo.c 2010-05-14 00:59:49.000000000 +0200
  3. +++ e2fsprogs-1.41.12/misc/e2undo.c 2010-10-18 12:03:49.329511558 +0200
  4. @@ -19,6 +19,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"