diff options
Diffstat (limited to 'dbm/src/mktemp.c')
-rw-r--r-- | dbm/src/mktemp.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/dbm/src/mktemp.c b/dbm/src/mktemp.c index 51b669b18..ab606e30f 100644 --- a/dbm/src/mktemp.c +++ b/dbm/src/mktemp.c @@ -49,10 +49,16 @@ static char sccsid[] = "@(#)mktemp.c 8.1 (Berkeley) 6/4/93"; #include <ctype.h> #include "mcom_db.h" -#if !defined(_WINDOWS) +#if !defined(_WINDOWS) && !defined(XP_OS2_VACPP) #include <unistd.h> #endif +#ifdef XP_OS2_VACPP +#define ENOTDIR EBADPOS +#include <process.h> +#include <dirent.h> +#endif + #ifdef _WINDOWS #include <process.h> #include "winfile.h" |