Loading...
--- Libc/Libc-320.1.3/include/termios.h
+++ Libc/Libc-498/include/termios.h
@@ -20,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__ */