From 4f4f6e1320ff996e09a5b78d6431b5ccf80a94bc Mon Sep 17 00:00:00 2001 From: sin Date: Thu, 16 Oct 2014 22:58:18 +0100 Subject: Remove ugly use of O_DIRECTORY Oops kfreebsd builds break. Aw well. --- ratox.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/ratox.c b/ratox.c index c5b6a91..be282d9 100644 --- a/ratox.c +++ b/ratox.c @@ -26,10 +26,6 @@ #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