summaryrefslogtreecommitdiff
path: root/pfinet
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet')
-rw-r--r--pfinet/ethernet.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c
index f3669190..754c9156 100644
--- a/pfinet/ethernet.c
+++ b/pfinet/ethernet.c
@@ -20,6 +20,8 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */
+/* Do not include glue-include/linux/errno.h */
+#define _HACK_ERRNO_H
#include "pfinet.h"
#include <device/device.h>
@@ -27,6 +29,7 @@
#include <netinet/in.h>
#include <string.h>
#include <error.h>
+#include <fcntl.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>