diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | openbsd-compat/bsd-cygwin_util.h | 8 |
2 files changed, 11 insertions, 1 deletions
@@ -1,6 +1,10 @@ | |||
1 | 20140118 | 1 | 20140118 |
2 | - (dtucker) [uidswap.c] Prevent unused variable warnings on Cygwin. Patch | 2 | - (dtucker) [uidswap.c] Prevent unused variable warnings on Cygwin. Patch |
3 | from vinschen at redhat.com | 3 | from vinschen at redhat.com |
4 | - (dtucker) [openbsd-compat/bsd-cygwin_util.h] Add missing function | ||
5 | declarations that stopped being included when we stopped including | ||
6 | <windows.h> from openbsd-compat/bsd-cygwin_util.h. Patch from vinschen at | ||
7 | redhat.com. | ||
4 | 8 | ||
5 | 20140117 | 9 | 20140117 |
6 | - (dtucker) [aclocal.m4 configure.ac] Add some additional compiler/toolchain | 10 | - (dtucker) [aclocal.m4 configure.ac] Add some additional compiler/toolchain |
diff --git a/openbsd-compat/bsd-cygwin_util.h b/openbsd-compat/bsd-cygwin_util.h index 372e41955..1177366f1 100644 --- a/openbsd-compat/bsd-cygwin_util.h +++ b/openbsd-compat/bsd-cygwin_util.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: bsd-cygwin_util.h,v 1.16 2013/04/01 01:40:49 dtucker Exp $ */ | 1 | /* $Id: bsd-cygwin_util.h,v 1.17 2014/01/18 10:04:00 dtucker Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 2000, 2001, 2011, 2013 Corinna Vinschen <vinschen@redhat.com> | 4 | * Copyright (c) 2000, 2001, 2011, 2013 Corinna Vinschen <vinschen@redhat.com> |
@@ -40,9 +40,15 @@ | |||
40 | typedef void *HANDLE; | 40 | typedef void *HANDLE; |
41 | #define INVALID_HANDLE_VALUE ((HANDLE) -1) | 41 | #define INVALID_HANDLE_VALUE ((HANDLE) -1) |
42 | 42 | ||
43 | /* Cygwin functions for which declarations are only available when including | ||
44 | windows headers, so we have to define them here explicitely. */ | ||
45 | extern HANDLE cygwin_logon_user (const struct passwd *, const char *); | ||
46 | extern void cygwin_set_impersonation_token (const HANDLE); | ||
47 | |||
43 | #include <sys/cygwin.h> | 48 | #include <sys/cygwin.h> |
44 | #include <io.h> | 49 | #include <io.h> |
45 | 50 | ||
51 | |||
46 | int binary_open(const char *, int , ...); | 52 | int binary_open(const char *, int , ...); |
47 | int check_ntsec(const char *); | 53 | int check_ntsec(const char *); |
48 | char **fetch_windows_environment(void); | 54 | char **fetch_windows_environment(void); |