aboutsummaryrefslogtreecommitdiff
path: root/tar/sqfs2tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'tar/sqfs2tar.c')
-rw-r--r--tar/sqfs2tar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tar/sqfs2tar.c b/tar/sqfs2tar.c
index b21570a..a05369f 100644
--- a/tar/sqfs2tar.c
+++ b/tar/sqfs2tar.c
@@ -8,7 +8,10 @@
#include "common.h"
#include "tar.h"
+#ifdef HAVE_GETOPT_LONG
#include <getopt.h>
+#endif
+
#include <string.h>
#include <stdlib.h>
#include <assert.h>