Module Name:    src
Committed By:   mrg
Date:           Sat Jun  2 20:07:15 UTC 2018

Modified Files:
        src/usr.bin/kdump: mkioctls

Log Message:
just include <sys/mutex.h> for mkioctls.  this works fine for me
for several platforms and fixes the clang build.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/usr.bin/kdump/mkioctls

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/kdump/mkioctls
diff -u src/usr.bin/kdump/mkioctls:1.50 src/usr.bin/kdump/mkioctls:1.51
--- src/usr.bin/kdump/mkioctls:1.50	Tue May 29 14:29:53 2018
+++ src/usr.bin/kdump/mkioctls	Sat Jun  2 20:07:15 2018
@@ -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 videomemory_t;
 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 */"

Reply via email to