roken: include direct.h if HAVE_DIRECT_H

the prototype for "mkdir() on Windows is provided by direct.h.

Change-Id: I15c1d8fcc6fe58ba763bae236e92cfac958c66d1
This commit is contained in:
Jeffrey Altman
2013-06-22 17:27:16 -04:00
parent bdfb19128d
commit 63735cc066

View File

@@ -260,6 +260,10 @@ struct sockaddr_dl;
#include <dirent.h>
#endif
#ifdef HAVE_DIRECT_H
#include <direct.h>
#endif
#ifdef BACKSLASH_PATH_DELIM
#define rk_PATH_DELIM '\\'
#endif