diff options
author | Julien Cristau <jcristau@debian.org> | 2008-11-16 21:25:33 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2008-11-16 21:25:33 +0100 |
commit | 5b3da5679d78ac025358ba0e4beb35e8a9cacd5c (patch) | |
tree | 38da44d468b4047fa3187a0dcde3aa9debfd0a92 /xconsole.c | |
parent | 9f690af8ed736ffcae0f0e3771bbc4ab851f8202 (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |