about summary refs log tree commit diff
path: root/termios
diff options
context:
space:
mode:
Diffstat (limited to 'termios')
-rw-r--r--termios/termios.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/termios/termios.h b/termios/termios.h
index c42c62cd87..762e7511cd 100644
--- a/termios/termios.h
+++ b/termios/termios.h
@@ -95,7 +95,7 @@ extern int tcflush (int __fd, int __queue_selector) __THROW;
 extern int tcflow (int __fd, int __action) __THROW;
 
 
-#ifdef __USE_UNIX98
+#if defined __USE_UNIX98 || defined __USE_XOPEN2K8
 /* Get process group ID for session leader for controlling terminal FD.  */
 extern __pid_t tcgetsid (int __fd) __THROW;
 #endif