Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include include <stdint.h> instead of <sys/types.h>.



details:   https://anonhg.NetBSD.org/src/rev/911a0ba9296c
branches:  trunk
changeset: 746739:911a0ba9296c
user:      yamt <yamt%NetBSD.org@localhost>
date:      Wed Aug 19 04:22:53 2009 +0000

description:
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.

diffstat:

 include/strings.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 59c7da6456a3 -r 911a0ba9296c include/strings.h
--- a/include/strings.h Wed Aug 19 03:45:51 2009 +0000
+++ b/include/strings.h Wed Aug 19 04:22:53 2009 +0000
@@ -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 @@
 
 #include <sys/cdefs.h>
 
-#include <sys/types.h>
+#include <stdint.h>
 
 __BEGIN_DECLS
 int     bcmp(const void *, const void *, size_t);



Home | Main Index | Thread Index | Old Index