]> andersk Git - openssh.git/blobdiff - openbsd-compat/bsd-cygwin_util.h
- (dtucker) [openbsd-compat/regress/closefromtest.c] Bug #1358: Always
[openssh.git] / openbsd-compat / bsd-cygwin_util.h
index 5d460ee4147a3ade644c637fa82c48c32be9061b..03b64d20de183c1ec7ae81f391384a7167e16d73 100644 (file)
 
 #ifdef HAVE_CYGWIN
 
+#undef ERROR
+#define is_winnt       (GetVersion() < 0x80000000)
+
+#include <windows.h>
+#include <sys/cygwin.h>
 #include <io.h>
 
 int binary_open(const char *, int , ...);
@@ -41,6 +46,8 @@ int binary_pipe(int fd[2]);
 int check_nt_auth(int, struct passwd *);
 int check_ntsec(const char *);
 void register_9x_service(void);
+char **fetch_windows_environment(void);
+void free_windows_environment(char **);
 
 #define open binary_open
 #define pipe binary_pipe
This page took 0.039012 seconds and 4 git commands to generate.