summaryrefslogtreecommitdiff
path: root/utils/mifare-tool.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/mifare-tool.c')
-rw-r--r--utils/mifare-tool.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/utils/mifare-tool.c b/utils/mifare-tool.c
index 7c3a51e..dd6f148 100644
--- a/utils/mifare-tool.c
+++ b/utils/mifare-tool.c
@@ -21,7 +21,10 @@
#include <stdlib.h>
#include <string.h>
#include <errno.h>
-//#include <libgen.h>
+
+#ifndef __MINGW32__
+#include <libgen.h>
+#endif
#define _GNU_SOURCE
#include <getopt.h>
personal git repositories of Harald Welte. Your mileage may vary