Loading...
include/termios.h Libc-320 Libc-391.2.9
--- Libc/Libc-320/include/termios.h
+++ Libc/Libc-391.2.9/include/termios.h
@@ -2,8 +2,6 @@
  * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
- * 
- * Copyright (c) 1999-2003 Apple Computer, Inc.  All Rights Reserved.
  * 
  * This file contains Original Code and/or Modifications of Original Code
  * as defined in and that are subject to the Apple Public Source License
@@ -22,5 +20,20 @@
  * 
  * @APPLE_LICENSE_HEADER_END@
  */
+#ifndef __TERMIOS_H__
+#define __TERMIOS_H__
+
+#include <sys/cdefs.h>
 #include <sys/termios.h>
+#include <_types.h>
 
+#ifndef _PID_T
+typedef __darwin_pid_t	pid_t;
+#define _PID_T
+#endif
+
+__BEGIN_DECLS
+pid_t	tcgetsid(int);
+__END_DECLS
+
+#endif /* __TERMIOS_H__ */