aboutsummaryrefslogtreecommitdiff
path: root/unpack/rdsquashfs.h
diff options
context:
space:
mode:
authorDavid Oberhollenzer <goliath@infraroot.at>2020-04-06 23:07:51 +0200
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2020-04-08 03:14:59 +0200
commitc81b424d967203cc2d68e819dc330439e8880764 (patch)
treed075931c780eeddf9a2dc1d8339ef686d60abac3 /unpack/rdsquashfs.h
parent4ea1c1e14d8ee67b2e7a6a4665747ccd87fec479 (diff)
Add msvc projects for utility programsfeature/goliath/msvc
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'unpack/rdsquashfs.h')
-rw-r--r--unpack/rdsquashfs.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/unpack/rdsquashfs.h b/unpack/rdsquashfs.h
index 17c0a85..bf3e4c6 100644
--- a/unpack/rdsquashfs.h
+++ b/unpack/rdsquashfs.h
@@ -23,9 +23,13 @@
setxattr(path, name, value, size, 0, flags | XATTR_NOFOLLOW)
#endif
#endif
+
+#ifdef HAVE_GETOPT_LONG
+#include <getopt.h>
+#endif
+
#include <string.h>
#include <stdlib.h>
-#include <getopt.h>
#include <assert.h>
#include <ctype.h>
#include <errno.h>