Commit 92c53eef authored by Uwe Hermann's avatar Uwe Hermann
Browse files

Fix nic3com.c build issues on *BSD


Corresponding to flashrom svn r501.
Signed-off-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
Acked-by: default avatarUwe Hermann <uwe@hermann-uwe.de>
parent 3e9dbea1
......@@ -20,8 +20,10 @@
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <sys/io.h>
#include <pci/pci.h>
#include "flash.h"
......@@ -37,6 +39,10 @@
uint32_t io_base_addr;
struct pci_access *pacc;
#if defined(__FreeBSD__) || defined(__DragonFly__)
int io_fd;
#endif
#define OK 0
#define NT 1 /* Not tested */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment