include <stdint.h> instead of <sys/types.h>.
the latter pulls FD_SET etc and it makes wine-1.1.27's winsock vs unixsocket namespace dance unhappy. for more information, grep Include_winsock_h_before_stdlib_h_or_use_the_MSVCRT_library in their source.
This commit is contained in:
parent
b8db42fd33
commit
a5ad33a8d7
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: strings.h,v 1.16 2009/07/21 16:27:54 joerg Exp $ */
|
||||
/* $NetBSD: strings.h,v 1.17 2009/08/19 04:22:53 yamt Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -46,7 +46,7 @@ typedef _BSD_SIZE_T_ size_t;
|
|||
|
||||
#include <sys/cdefs.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdint.h>
|
||||
|
||||
__BEGIN_DECLS
|
||||
int bcmp(const void *, const void *, size_t);
|
||||
|
|
Loading…
Reference in New Issue