commit 1eed2fd18574915b60db1692aef0e20396d9065f
parent 49f2e29c13885e0c9eef0b0267250ec609851a0e
Author: Kill Your TV <killyourtv@i2pmail.org>
Date: Wed, 8 Oct 2014 14:07:51 +0100
Fix build on kfreebsd
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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",