2
0
mirror of https://github.com/xcat2/xNBA.git synced 2026-03-26 08:13:29 +00:00
Files
xNBA/src/include/gpxe/linux_compat.h
Michael Brown c44a193d0d [legal] Add a selection of FILE_LICENCE declarations
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE.
2009-05-18 08:33:25 +01:00

28 lines
558 B
C

#ifndef _GPXE_LINUX_COMPAT_H
#define _GPXE_LINUX_COMPAT_H
/** @file
*
* Linux code compatibility
*
* This file exists to ease the building of Linux source code within
* gPXE. This is intended to facilitate quick testing; it is not
* intended to be a substitute for proper porting.
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <stdint.h>
#include <errno.h>
#include <stdio.h>
#include <byteswap.h>
#include <gpxe/bitops.h>
#define __init
#define __exit
#define __initdata
#define __exitdata
#define printk printf
#endif /* _GPXE_LINUX_COMPAT_H */