1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

11587: Felix Rosencrantz: Src/pattern.c: uninitialised variable

11590: various cygwin fixes
This commit is contained in:
Peter Stephenson 2000-05-26 09:47:27 +00:00
parent 972fe43f51
commit ad9c7348b5
8 changed files with 78 additions and 31 deletions

View file

@ -50,10 +50,20 @@ union zftp_sockaddr;
struct zftp_session;
typedef struct zftp_session *Zftp_session;
/*
* We need to include the zsh headers later to avoid clashes with
* the definitions on some systems, however we need the configuration
* file to decide whether we can include netinet/in_systm.h, which
* doesn't exist on cygwin.
*/
#include "../../config.h"
#include <sys/types.h>
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in_systm.h>
#ifdef HAVE_NETINET_IN_SYSTM_H
# include <netinet/in_systm.h>
#endif
#include <netinet/in.h>
#include <netinet/ip.h>
#include <arpa/inet.h>