From 63735cc066810398f8bdb5473af2c4a931f699bf Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Sat, 22 Jun 2013 17:27:16 -0400 Subject: [PATCH] roken: include direct.h if HAVE_DIRECT_H the prototype for "mkdir() on Windows is provided by direct.h. Change-Id: I15c1d8fcc6fe58ba763bae236e92cfac958c66d1 --- lib/roken/roken.h.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/roken/roken.h.in b/lib/roken/roken.h.in index cf1b63b75..59d1e6d67 100644 --- a/lib/roken/roken.h.in +++ b/lib/roken/roken.h.in @@ -260,6 +260,10 @@ struct sockaddr_dl; #include #endif +#ifdef HAVE_DIRECT_H +#include +#endif + #ifdef BACKSLASH_PATH_DELIM #define rk_PATH_DELIM '\\' #endif