]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UnixPkg/UnixSerialIoDxe/UnixSerialIo.h
CryptoPkg SysCall Lib: Fix warning with GCC in CrtWrapper.c
[mirror_edk2.git] / UnixPkg / UnixSerialIoDxe / UnixSerialIo.h
index f58014eaa8defc6a6373039feb2212c44e0e292f..704b54e2349c3399b3a2a8080999a8c8143ef837 100644 (file)
@@ -21,20 +21,10 @@ Abstract:
 \r
 #ifndef _UNIXPKG_SERIAL_IO_\r
 #define _UNIXPKG_SERIAL_IO_\r
-#include <sys/types.h>\r
-#include <sys/stat.h>\r
-#include <stdio.h>\r
-\r
-#ifdef __APPLE__\r
-#else\r
-#include <stdlib.h>\r
-#include <termio.h>\r
-#endif\r
 \r
-#include <fcntl.h>\r
-#include <errno.h>\r
+#include <Common/UnixInclude.h>\r
 \r
-#include "Uefi.h"\r
+#include <Uefi.h>\r
 #include <Protocol/SerialIo.h>\r
 #include <Protocol/DevicePath.h>\r
 \r
@@ -201,10 +191,10 @@ extern EFI_COMPONENT_NAME_PROTOCOL  gUnixSerialIoComponentName;
 #define __MAX_BAUD B4000000\r
 #endif\r
 #ifndef CMSPAR\r
-#define CMSPAR   010000000000          /* mark or space (stick) parity */\r
+#define CMSPAR    010000000000    /* mark or space (stick) parity */\r
 #endif\r
 #ifndef FIONREAD\r
-#define FIONREAD       0x541B\r
+#define FIONREAD  0x541B\r
 #endif\r
 //\r
 // Function Prototypes\r