Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/sys/sys DTrace: another fix for OS X bui...
details: https://anonhg.NetBSD.org/src/rev/4e137fc06b5a
branches: trunk
changeset: 752654:4e137fc06b5a
user: darran <darran%NetBSD.org@localhost>
date: Tue Mar 02 22:00:32 2010 +0000
description:
DTrace: another fix for OS X builds, stdint.h location.
diffstat:
external/cddl/osnet/sys/sys/types.h | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r b07b2f22ddef -r 4e137fc06b5a external/cddl/osnet/sys/sys/types.h
--- a/external/cddl/osnet/sys/sys/types.h Tue Mar 02 21:54:06 2010 +0000
+++ b/external/cddl/osnet/sys/sys/types.h Tue Mar 02 22:00:32 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: types.h,v 1.8 2010/03/02 21:08:36 darran Exp $ */
+/* $NetBSD: types.h,v 1.9 2010/03/02 22:00:32 darran Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -63,8 +63,11 @@
/*
* This is a bag of dirty hacks to keep things compiling.
*/
-
+#ifdef __APPLE__
#include <stdint.h>
+#else
+#include <sys/stdint.h>
+#endif
#include_next <sys/types.h>
#include_next <sys/ccompile.h>
Home |
Main Index |
Thread Index |
Old Index