Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/lib/libdtrace/common Add definition...
details: https://anonhg.NetBSD.org/src/rev/700e14a31bf1
branches: trunk
changeset: 340845:700e14a31bf1
user: christos <christos%NetBSD.org@localhost>
date: Mon Oct 05 17:47:37 2015 +0000
description:
Add definitions for uid_t and gid_t for NetBSD because we are screwing up
with the names in the kernel and the ctf sections end up having only __uid_t
and __gid_t.
diffstat:
external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diffs (25 lines):
diff -r 5dcb5c4c363d -r 700e14a31bf1 external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c
--- a/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c Mon Oct 05 15:57:50 2015 +0000
+++ b/external/cddl/osnet/dist/lib/libdtrace/common/dt_open.c Mon Oct 05 17:47:37 2015 +0000
@@ -640,6 +640,10 @@
{ "unsigned", "size_t" },
{ "long", "id_t" },
{ "long", "pid_t" },
+#ifdef __NetBSD__
+{ "unsigned int", "uid_t" },
+{ "unsigned int", "gid_t" },
+#endif
{ NULL, NULL }
};
@@ -668,6 +672,10 @@
{ "unsigned long", "size_t" },
{ "int", "id_t" },
{ "int", "pid_t" },
+#ifdef __NetBSD__
+{ "unsigned int", "uid_t" },
+{ "unsigned int", "gid_t" },
+#endif
{ NULL, NULL }
};
Home |
Main Index |
Thread Index |
Old Index