summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2003-04-12 03:22:33 +0000
committerDana Jansens <danakj@orodu.net>2003-04-12 03:22:33 +0000
commit73f85d0a630840ab2aa06f1237ef5802b65b43ec (patch)
tree98a11fc89856d01fb285e07977af697792f9a79c
parent949946a9b4054ebb46e2eca8bd7685dc9bb5765c (diff)
dont use #ifdef HAVE_FOO for ansi functions/headers
-rw-r--r--cwmcc/client_props.c4
-rw-r--r--cwmcc/prop.c4
-rw-r--r--cwmcc/root_props.c4
3 files changed, 3 insertions, 9 deletions
diff --git a/cwmcc/client_props.c b/cwmcc/client_props.c
index 30644dd8..b91deb2f 100644
--- a/cwmcc/client_props.c
+++ b/cwmcc/client_props.c
@@ -4,9 +4,7 @@
#include "client_props.h"
#include <X11/Xutil.h>
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
void cwmcc_client_get_protocols(Window win, Atom **protocols)
{
diff --git a/cwmcc/prop.c b/cwmcc/prop.c
index 1c6ab8cc..66d2fb8d 100644
--- a/cwmcc/prop.c
+++ b/cwmcc/prop.c
@@ -3,9 +3,7 @@
#include <X11/Xutil.h>
#include <glib.h>
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
/* this just isn't used...
static gboolean get(Window win, Atom prop, Atom type, int size,
diff --git a/cwmcc/root_props.c b/cwmcc/root_props.c
index bc963c83..daaf580e 100644
--- a/cwmcc/root_props.c
+++ b/cwmcc/root_props.c
@@ -3,9 +3,7 @@
#include "prop.h"
#include "root_props.h"
-#ifdef HAVE_STRING_H
-# include <string.h>
-#endif
+#include <string.h>
void cwmcc_root_get_supported(Window win, Atom **atoms)
{