summaryrefslogtreecommitdiff
path: root/xconsole.c
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2008-11-16 21:25:33 +0100
committerJulien Cristau <jcristau@debian.org>2008-11-16 21:25:33 +0100
commit5b3da5679d78ac025358ba0e4beb35e8a9cacd5c (patch)
tree38da44d468b4047fa3187a0dcde3aa9debfd0a92 /xconsole.c
parent9f690af8ed736ffcae0f0e3771bbc4ab851f8202 (diff)
Fix header inclusion for openpty()
AC_CHECK_HEADERS(foo.h) defines HAVE_FOO_H, not HAS_FOO_H. This fixes a compiler warning: xconsole.c:839: warning: implicit declaration of function 'openpty'
Diffstat (limited to 'xconsole.c')
-rw-r--r--xconsole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xconsole.c b/xconsole.c
index ec7ccea..4ac3870 100644
--- a/xconsole.c
+++ b/xconsole.c
@@ -66,10 +66,10 @@ extern char *_XawTextGetSTRING(TextWidget ctx, XawTextPosition left,
#include <ctype.h>
#include <stdlib.h>
#ifdef HAS_OPENPTY
-# ifdef HAS_UTIL_H
+# ifdef HAVE_UTIL_H
# include <util.h>
# endif
-# ifdef HAS_PTY_H
+# ifdef HAVE_PTY_H
# include <pty.h>
# endif
#endif