expose memmem under baseline POSIX feature profile
[musl] / include / termios.h
index 1041759..cbb5330 100644 (file)
@@ -5,7 +5,10 @@
 extern "C" {
 #endif
 
+#include <features.h>
+
 #define __NEED_pid_t
+#define __NEED_struct_winsize
 
 #include <bits/alltypes.h>
 
@@ -25,6 +28,9 @@ int cfsetispeed (struct termios *, speed_t);
 int tcgetattr (int, struct termios *);
 int tcsetattr (int, int, const struct termios *);
 
+int tcgetwinsize (int, struct winsize *);
+int tcsetwinsize (int, const struct winsize *);
+
 int tcsendbreak (int, int);
 int tcdrain (int);
 int tcflush (int, int);