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 missing ...
details: https://anonhg.NetBSD.org/src/rev/d5b444ae099a
branches: trunk
changeset: 343843:d5b444ae099a
user: christos <christos%NetBSD.org@localhost>
date: Sun Feb 28 19:10:45 2016 +0000
description:
- Add missing ioctl.h
- Hide dprintf
diffstat:
external/cddl/osnet/dist/lib/libdtrace/common/drti.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r c94d894e2e03 -r d5b444ae099a external/cddl/osnet/dist/lib/libdtrace/common/drti.c
--- a/external/cddl/osnet/dist/lib/libdtrace/common/drti.c Sun Feb 28 19:10:10 2016 +0000
+++ b/external/cddl/osnet/dist/lib/libdtrace/common/drti.c Sun Feb 28 19:10:45 2016 +0000
@@ -29,9 +29,12 @@
#include <dlfcn.h>
#include <link.h>
#include <sys/dtrace.h>
+#include <sys/ioctl.h>
#include <stdarg.h>
+#define dprintf __hide_dprintf
#include <stdio.h>
+#undef dprintf
#include <stdlib.h>
#include <string.h>
#include <errno.h>
Home |
Main Index |
Thread Index |
Old Index