Module Name: src
Committed By: darran
Date: Tue Mar 2 22:00:32 UTC 2010
Modified Files:
src/external/cddl/osnet/sys/sys: types.h
Log Message:
DTrace: another fix for OS X builds, stdint.h location.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/cddl/osnet/sys/sys/types.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/cddl/osnet/sys/sys/types.h
diff -u src/external/cddl/osnet/sys/sys/types.h:1.8 src/external/cddl/osnet/sys/sys/types.h:1.9
--- src/external/cddl/osnet/sys/sys/types.h:1.8 Tue Mar 2 21:08:36 2010
+++ src/external/cddl/osnet/sys/sys/types.h Tue Mar 2 22:00:32 2010
@@ -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>