Imported Debian patch 0.5.3-1.1
[debian/efibootmgr] / src / lib / efi.c
index 7dd2ab3aa5d8d2c1a48231cce526d9359aaf0759..a760eb185b70f209f7d1b733ad7f847053591144 100644 (file)
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
-#define _FILE_OFFSET_BITS 64
-
-typedef unsigned long long u64;       /* hack to allow include of ethtool.h */
-
 #include <ctype.h>
 #include <stdio.h>
 #include <stdlib.h>
@@ -39,6 +35,7 @@ typedef unsigned long long u64;       /* hack to allow include of ethtool.h */
 #include <linux/sockios.h>
 #include <net/if.h>
 #include <pci/pci.h>
+#include <asm/types.h>
 #include <linux/ethtool.h>
 #include "efi.h"
 #include "efichar.h"