summaryrefslogtreecommitdiff
path: root/xprop.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2007-08-10 13:40:17 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-08-10 13:40:17 -0700
commitfc788dc35532ebff44b5828f686b42e0deeec52c (patch)
tree42a4fb1c0973c627cfca5b0ad757bc17c89874cb /xprop.c
parentb9860eeb000018a83233cec14ff0db8687a146b5 (diff)
Convert old #ifdefs for HAS_WTYPE_H & HAS_WCHAR_H to autoconf checks
Diffstat (limited to 'xprop.c')
-rw-r--r--xprop.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/xprop.c b/xprop.c
index f27b13f..1cf941a 100644
--- a/xprop.c
+++ b/xprop.c
@@ -29,6 +29,7 @@ from The Open Group.
*/
/* $XFree86: xc/programs/xprop/xprop.c,v 1.15 2003/09/24 02:43:38 dawes Exp $ */
+#include "config.h"
#include <X11/Xlib.h>
#include <X11/Xos.h>
@@ -37,15 +38,15 @@ from The Open Group.
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
-#ifdef HAS_WCHAR_H
+#ifdef HAVE_WCHAR_H
#include <wchar.h>
#endif
-#ifdef HAS_WCTYPE_H
+#ifdef HAVE_WCTYPE_H
#include <wctype.h>
#endif
#include <locale.h>
-#ifndef HAS_WCTYPE_H
+#ifndef HAVE_WCTYPE_H
#define iswprint(x) isprint(x)
#endif