21 lines
582 B
Text
21 lines
582 B
Text
$NetBSD: patch-aa,v 1.1.1.1 2005/06/02 15:10:52 martin Exp $
|
|
|
|
--- afbinit.c.orig 2001-11-30 03:04:21.000000000 +0100
|
|
+++ afbinit.c 2005-06-02 15:22:11.000000000 +0200
|
|
@@ -13,6 +13,7 @@
|
|
#include <unistd.h>
|
|
#include <fcntl.h>
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
|
|
/* Define this to debug the microcode loading procedure. */
|
|
#undef DEBUG_UCODE_LOAD
|
|
@@ -193,7 +194,7 @@
|
|
struct afb_ucode_header {
|
|
char ident[8];
|
|
unsigned int ucode_words;
|
|
- unsigned int __unused[2];
|
|
+ unsigned int unused[2];
|
|
} ucheader;
|
|
unsigned int *ucode;
|
|
int afb_fd, ucode_fd, ucode_version;
|