[BACK]Return to patch-hald_netbsd_devinfo__mass.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / sysutils / hal / patches

File: [cvs.NetBSD.org] / pkgsrc / sysutils / hal / patches / patch-hald_netbsd_devinfo__mass.c (download)

Revision 1.1, Tue Jan 17 15:25:27 2017 UTC (2 years, 2 months ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-, HEAD

Include sys/stat.h for struct stat. Build fix for NetBSD-current.

$NetBSD: patch-hald_netbsd_devinfo__mass.c,v 1.1 2017/01/17 15:25:27 wiz Exp $

Include sys/stat.h for struct stat.

--- hald/netbsd/devinfo_mass.c.orig	2017-01-17 15:21:27.139265878 +0000
+++ hald/netbsd/devinfo_mass.c
@@ -35,6 +35,7 @@
 #include <sys/ioctl.h>
 #include <sys/scsiio.h>
 #include <dev/scsipi/scsipi_all.h>
+#include <sys/stat.h>
 #include <ctype.h>
 #include <errno.h>
 #include <fcntl.h>