From f9b438f76afa50d99e25c46af6a3ea25b4e463a6 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 19 Feb 2012 12:08:12 +0000 Subject: Fix pfinet compilation * pfinet/ethernet.c (_HACK_ERRNO_H): Define to avoid inclusion of glue-include/linux/errno.h which undefines errno. Include . --- pfinet/ethernet.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pfinet') diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c index dab5c56f..3b632fa6 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 @@ -27,6 +29,7 @@ #include #include #include +#include #include #include -- cgit v1.2.3