[contrib] Allow Network Protocol header to display in rom-o-matic
[gpxe.git] / src / include / gpxe / linux_compat.h
blob577512eb68807328b91c3dc60001780087470764
1 #ifndef _GPXE_LINUX_COMPAT_H
2 #define _GPXE_LINUX_COMPAT_H
4 /** @file
6 * Linux code compatibility
8 * This file exists to ease the building of Linux source code within
9 * gPXE. This is intended to facilitate quick testing; it is not
10 * intended to be a substitute for proper porting.
13 FILE_LICENCE ( GPL2_OR_LATER );
15 #include <stdint.h>
16 #include <errno.h>
17 #include <stdio.h>
18 #include <byteswap.h>
19 #include <gpxe/bitops.h>
21 #define __init
22 #define __exit
23 #define __initdata
24 #define __exitdata
25 #define printk printf
27 #endif /* _GPXE_LINUX_COMPAT_H */