add powerpc64 port
[oweals/musl.git] / include / termios.h
index 4c4656271b58f38f79e9c3cc7f1b43765aecad83..d73c780d41a4270f1665658b6c4f7d62b792780a 100644 (file)
@@ -5,6 +5,8 @@
 extern "C" {
 #endif
 
+#include <features.h>
+
 #define __NEED_pid_t
 
 #include <bits/alltypes.h>
@@ -32,6 +34,11 @@ int tcflow (int, int);
 
 pid_t tcgetsid (int);
 
+#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
+void cfmakeraw(struct termios *);
+int cfsetspeed(struct termios *, speed_t);
+#endif
+
 #ifdef __cplusplus
 }
 #endif