posix_openpt: Support for OpenBSD.
[gnulib.git] / lib / lseek.c
index e6c2136..134e8b7 100644 (file)
@@ -24,6 +24,8 @@
 /* Windows platforms.  */
 /* Get GetFileType.  */
 # include <windows.h>
+/* Get _get_osfhandle.  */
+# include "msvc-nothrow.h"
 #else
 # include <sys/stat.h>
 #endif