summaryrefslogtreecommitdiff
path: root/sysutils/ipmitool/files/patch-lib_helper.c
blob: 268de36d00306d16c51676e5a16d723a38359269 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- lib/helper.c.orig	Wed May 18 03:58:05 2005
+++ lib/helper.c	Tue May 31 22:01:31 2005
@@ -34,17 +34,20 @@
  * facility.
  */
 
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <sys/ioctl.h>	/* For TIOCNOTTY */
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <inttypes.h>
 #include <signal.h>
 #include <string.h>
 #include <strings.h>
-#include <sys/types.h>
-#include <sys/stat.h>
 #include <unistd.h>
 #include <fcntl.h>
 #include <errno.h>
+#include <paths.h>		/* For _PATH_TTY */
 
 #include <ipmitool/helper.h>
 #include <ipmitool/log.h>