summaryrefslogtreecommitdiff
path: root/ioops.h
diff options
context:
space:
mode:
Diffstat (limited to 'ioops.h')
-rw-r--r--ioops.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ioops.h b/ioops.h
index a344361..6de6c62 100644
--- a/ioops.h
+++ b/ioops.h
@@ -1,6 +1,8 @@
#ifndef IOOPS_H
#define IOOPS_H
+#include <sys/types.h>
+
extern int open_or_die(const char *file, int flags);
extern int open_or_die_m(const char *file, int flags, mode_t mode);
extern void create_or_die(const char *file, mode_t mode);