Workaround a bug in system header files on PPC systems.

[GB.NET]
* BUG: Workaround a bug in system header files on PPC systems.
This commit is contained in:
gambas 2019-05-07 10:35:20 +02:00
parent 5f4bcb012d
commit e365356c8b

View File

@ -28,7 +28,12 @@
#if OS_LINUX
#include <asm/termios.h>
#if ARCH_PPC
#include <asm-generic/ioctls.h>
#include <asm-generic/termbits.h>
#else
#include <asm/termios.h>
#endif
int ioctl(int fd, unsigned long request, ...);