summaryrefslogtreecommitdiff
path: root/termios/termios.h
diff options
context:
space:
mode:
Diffstat (limited to 'termios/termios.h')
-rw-r--r--termios/termios.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/termios/termios.h b/termios/termios.h
index 41cd79bfd7..0af77e397c 100644
--- a/termios/termios.h
+++ b/termios/termios.h
@@ -23,13 +23,9 @@
#define _TERMIOS_H 1
#include <features.h>
+
#if defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K8
-/* We need `pid_t'. */
-# include <bits/types.h>
-# ifndef __pid_t_defined
-typedef __pid_t pid_t;
-# define __pid_t_defined
-# endif
+# include <bits/types/pid_t.h>
#endif
__BEGIN_DECLS