From 1daf97f97e2a27936ca27db303000b7ea4bc80d6 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Thu, 5 Oct 2000 03:12:36 +0000 Subject: * include/netinet/tcp.h: Remove winsock.h include. * include/sys/cygwin.h: Move windows specific reference within conditional. --- winsup/cygwin/include/sys/cygwin.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'winsup/cygwin/include/sys') diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index bf3fee92c..1c3c1e136 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -42,10 +42,6 @@ struct __cygwin_perfile unsigned flags; }; -#ifdef _PATH_PASSWD -extern HANDLE cygwin_logon_user (const struct passwd *, const char *); -#endif - /* External interface stuff */ typedef enum @@ -94,6 +90,10 @@ enum }; #ifdef WINVER +#ifdef _PATH_PASSWD +extern HANDLE cygwin_logon_user (const struct passwd *, const char *); +#endif + /* This lives in the app and is initialized before jumping into the DLL. It should only contain stuff which the user's process needs to see, or which is needed before the user pointer is initialized, or is needed to -- cgit v1.2.3