From: Dana Jansens Date: Sat, 12 Apr 2003 03:22:33 +0000 (+0000) Subject: dont use #ifdef HAVE_FOO for ansi functions/headers X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=73f85d0a630840ab2aa06f1237ef5802b65b43ec;p=chaz%2Fopenbox dont use #ifdef HAVE_FOO for ansi functions/headers --- 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 -#ifdef HAVE_STRING_H -# include -#endif +#include 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 #include -#ifdef HAVE_STRING_H -# include -#endif +#include /* 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 -#endif +#include void cwmcc_root_get_supported(Window win, Atom **atoms) {