summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ratox.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ratox.c b/ratox.c
index a2774e9..3f82528 100644
--- a/ratox.c
+++ b/ratox.c
@@ -26,6 +26,10 @@
#include "readpassphrase.h"
#include "util.h"
+#ifndef O_DIRECTORY
+#define O_DIRECTORY 0
+#endif
+
const char *reqerr[] = {
[-TOX_FAERR_TOOLONG] = "Message is too long",
[-TOX_FAERR_NOMESSAGE] = "Please add a message to your request",