diff options
Diffstat (limited to 'UnixPkg/UnixSerialIoDxe/UnixSerialIo.h')
-rw-r--r-- | UnixPkg/UnixSerialIoDxe/UnixSerialIo.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/UnixPkg/UnixSerialIoDxe/UnixSerialIo.h b/UnixPkg/UnixSerialIoDxe/UnixSerialIo.h index 3a6c11ac37..bcd8018e4c 100644 --- a/UnixPkg/UnixSerialIoDxe/UnixSerialIo.h +++ b/UnixPkg/UnixSerialIoDxe/UnixSerialIo.h @@ -1,6 +1,7 @@ /*++
-Copyright (c) 2006 - 2008, Intel Corporation
+Copyright (c) 2006 - 2009, Intel Corporation
+Portions copyright (c) 2008-2009 Apple Inc.
All rights reserved. This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -23,8 +24,13 @@ Abstract: #include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
+
+#ifdef __APPLE__
+#else
#include <stdlib.h>
#include <termio.h>
+#endif
+
#include <fcntl.h>
#include <errno.h>
|