From 1eed2fd18574915b60db1692aef0e20396d9065f Mon Sep 17 00:00:00 2001 From: Kill Your TV Date: Wed, 8 Oct 2014 14:07:51 +0100 Subject: Fix build on kfreebsd --- ratox.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ratox.c') 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", -- cgit v1.2.3