Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/kdump just include <sys/mutex.h> for mkioctls. this...
details: https://anonhg.NetBSD.org/src/rev/01f6e709841f
branches: trunk
changeset: 319542:01f6e709841f
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Jun 02 20:07:15 2018 +0000
description:
just include <sys/mutex.h> for mkioctls. this works fine for me
for several platforms and fixes the clang build.
diffstat:
usr.bin/kdump/mkioctls | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (22 lines):
diff -r 51eea4c1bd6e -r 01f6e709841f usr.bin/kdump/mkioctls
--- a/usr.bin/kdump/mkioctls Sat Jun 02 19:28:39 2018 +0000
+++ b/usr.bin/kdump/mkioctls Sat Jun 02 20:07:15 2018 +0000
@@ -1,5 +1,5 @@
#!/bin/sh
-# $NetBSD: mkioctls,v 1.50 2018/05/29 14:29:53 martin Exp $
+# $NetBSD: mkioctls,v 1.51 2018/06/02 20:07:15 mrg Exp $
#
# Copyright (c) 1994
# The Regents of the University of California. All rights reserved.
@@ -49,10 +49,10 @@
echo "typedef struct crap RF_AccTotals_t;" # XXX Raidframe lossage
echo "struct rf_test_acc { int _xxx; };" # XXX Raidframe lossage
echo "struct map_info { int _xxx[22]; };" # XXX Xorg lossage
-echo "typedef struct kmutex kmutex_t;" # XXX needed by ZFS headers
echo "#include <stdio.h>"
echo "#include <sys/types.h>"
echo "#include <sys/param.h>"
+echo "#include <sys/mutex.h>"
echo "#ifndef NBPG"
echo "#define NBPG 4096 /* workaround / dummy for sparc */"
echo "#endif /* NBPG */"
Home |
Main Index |
Thread Index |
Old Index