summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2009-08-07 00:10:18 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2009-08-07 00:10:18 +0000
commit2e60b6d886f8a294edcfb97b51b568db4849e119 (patch)
treed100f75dd75df8d616609f7653209c59ce5b7939 /sys/dev
parent663e034b0faa8ae23c7f046ec5d20b17bd6b481f (diff)
pull some more missing; for err&errx, printf, write, bzopy&bzero
ok jsg@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/microcode/tigon/build.c6
-rw-r--r--sys/dev/microcode/tusb3410/build.c4
-rw-r--r--sys/dev/microcode/uyap/build.c3
3 files changed, 10 insertions, 3 deletions
diff --git a/sys/dev/microcode/tigon/build.c b/sys/dev/microcode/tigon/build.c
index 02dd9085a79..c9657d14cd0 100644
--- a/sys/dev/microcode/tigon/build.c
+++ b/sys/dev/microcode/tigon/build.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: build.c,v 1.4 2009/07/28 07:20:28 claudio Exp $ */
+/* $OpenBSD: build.c,v 1.5 2009/08/07 00:10:17 martynas Exp $ */
/*
* Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org>
@@ -17,8 +17,12 @@
*/
#include <sys/types.h>
#include <dev/pci/if_tivar.h>
+#include <err.h>
#include <fcntl.h>
+#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
+#include <unistd.h>
#include "ti_fw.h"
#include "ti_fw2.h"
diff --git a/sys/dev/microcode/tusb3410/build.c b/sys/dev/microcode/tusb3410/build.c
index 34930f9546e..6c034a1b2e6 100644
--- a/sys/dev/microcode/tusb3410/build.c
+++ b/sys/dev/microcode/tusb3410/build.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: build.c,v 1.2 2009/07/18 09:53:02 jsg Exp $ */
+/* $OpenBSD: build.c,v 1.3 2009/08/07 00:10:17 martynas Exp $ */
/*
* Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org>
@@ -19,7 +19,9 @@
#include <sys/uio.h>
#include <fcntl.h>
#include <sys/param.h>
+#include <err.h>
#include <stdio.h>
+#include <unistd.h>
#include <dev/usb/ezload.h>
#include "tusb3410.h"
diff --git a/sys/dev/microcode/uyap/build.c b/sys/dev/microcode/uyap/build.c
index 497654b80ab..2e2aa6d9fc7 100644
--- a/sys/dev/microcode/uyap/build.c
+++ b/sys/dev/microcode/uyap/build.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: build.c,v 1.4 2009/07/18 09:58:06 jsg Exp $ */
+/* $OpenBSD: build.c,v 1.5 2009/08/07 00:10:17 martynas Exp $ */
/*
* Copyright (c) 2004 Theo de Raadt <deraadt@openbsd.org>
@@ -20,6 +20,7 @@
#include <fcntl.h>
#include <sys/param.h>
#include <stdio.h>
+#include <err.h>
#include <dev/usb/ezload.h>
#include "uyap_firmware.h"