blob: 5281364a77baaad4a8f111a73ab0de943f249d05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
optind seems to need unistd.h, not only getopt.h
--- e2fsprogs-1.42.12.orig/misc/e2undo.c 2014-07-03 16:33:48.000000000 +0200
+++ e2fsprogs-1.42.12/misc/e2undo.c 2015-02-24 13:53:30.092844203 +0100
@@ -20,6 +20,7 @@
#if HAVE_ERRNO_H
#include <errno.h>
#endif
+#include <unistd.h>
#include "ext2fs/tdb.h"
#include "ext2fs/ext2fs.h"
#include "nls-enable.h"
|