aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--omar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/omar.c b/omar.c
index 5838343..a4c7ad6 100644
--- a/omar.c
+++ b/omar.c
@@ -29,7 +29,6 @@
#include <sys/stat.h>
#include <sys/errno.h>
-#include <sys/types.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdbool.h>
@@ -81,7 +80,7 @@ struct omar_hdr {
uint8_t namelen;
uint32_t len;
uint8_t rev;
- mode_t mode;
+ uint32_t mode;
} __attribute__((packed));
static inline void