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 Include "sys/i...



details:   https://anonhg.NetBSD.org/src/rev/b99fd89cb27a
branches:  trunk
changeset: 783665:b99fd89cb27a
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Jan 02 21:19:13 2013 +0000

description:
Include "sys/ioctl.h" for the prototype of ioctl(2) which fixes the build.

diffstat:

 external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r b89342709cfb -r b99fd89cb27a external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c
--- a/external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c   Wed Jan 02 19:45:48 2013 +0000
+++ b/external/cddl/osnet/dist/lib/libdtrace/common/dt_subr.c   Wed Jan 02 21:19:13 2013 +0000
@@ -39,6 +39,7 @@
 #if defined(sun)
 #include <alloca.h>
 #else
+#include <sys/ioctl.h>
 #include <sys/sysctl.h>
 #endif
 #include <assert.h>



Home | Main Index | Thread Index | Old Index