summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bios_reader/bios_dumper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/bios_reader/bios_dumper.c b/src/bios_reader/bios_dumper.c
index e2f3064e..1353edaa 100644
--- a/src/bios_reader/bios_dumper.c
+++ b/src/bios_reader/bios_dumper.c
@@ -36,6 +36,10 @@
#include <pciaccess.h>
#include <err.h>
+#ifndef DEFFILEMODE
+#define DEFFILEMODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH) /* 0666*/
+#endif
+
static void usage(void)
{
fprintf(stderr, "usage: bios_dumper <filename>\n");