summaryrefslogtreecommitdiff
path: root/ratox.c
diff options
context:
space:
mode:
authorKill Your TV <killyourtv@i2pmail.org>2014-10-08 14:07:51 +0100
committersin <sin@2f30.org>2014-10-08 14:08:11 +0100
commit1eed2fd18574915b60db1692aef0e20396d9065f (patch)
tree8b4bb654f8e258b694535ba4e3db0a707b5604a9 /ratox.c
parent49f2e29c13885e0c9eef0b0267250ec609851a0e (diff)
Fix build on kfreebsd
Diffstat (limited to 'ratox.c')
-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",