updates.
[crypto.git] / includes / silcincludes.h
index f99e5e0976c25eeed17be8fc86f59d4cecb9daf1..63f9e6753efd2b9f5a5243f9171c9682f6e8af9f 100644 (file)
@@ -31,6 +31,8 @@
 
 #ifdef SILC_WIN32
 #include <windows.h>
+#include <dir.h>
+#include <io.h>
 #endif
 
 #include <stdio.h>
@@ -56,7 +58,7 @@
 #error fcntl.h not found in the system
 #endif
 
-#ifdef HAVE_ASSERT_H
+#ifdef HAVE_ERRNO_H
 #include <errno.h>
 #else
 #error errno.h not found in the system