From 37e0f3de58c2a7c107834d9c41fcf56b1240c38f Mon Sep 17 00:00:00 2001 From: Doug Torrance Date: Fri, 13 Jul 2018 11:12:56 -0400 Subject: [PATCH] wmmemfree: Include only necessary headers. --- wmmemfree/dockapp.c | 3 ++- wmmemfree/dockapp.h | 2 +- wmmemfree/draw.c | 2 -- wmmemfree/wmmemfree.c | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wmmemfree/dockapp.c b/wmmemfree/dockapp.c index 020c62f..9c3ff16 100644 --- a/wmmemfree/dockapp.c +++ b/wmmemfree/dockapp.c @@ -21,15 +21,16 @@ #include #include #include +#include #include #include #include #include +#include #include #include "wmmemfree.h" #include "options.h" -#include "draw.h" #include "xpm/bg.xpm" #include "xpm/on.xpm" diff --git a/wmmemfree/dockapp.h b/wmmemfree/dockapp.h index 148e6d2..a644f56 100644 --- a/wmmemfree/dockapp.h +++ b/wmmemfree/dockapp.h @@ -21,8 +21,8 @@ #ifndef __DOCKAPP_H__ #define __DOCKAPP_H__ +#include #include -#include #define WINDOW_WIDTH 64 #define WINDOW_HEIGHT 64 diff --git a/wmmemfree/draw.c b/wmmemfree/draw.c index 944eca3..7323e47 100644 --- a/wmmemfree/draw.c +++ b/wmmemfree/draw.c @@ -18,9 +18,7 @@ * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ -#include #include -#include #include "dockapp.h" #include "draw.h" diff --git a/wmmemfree/wmmemfree.c b/wmmemfree/wmmemfree.c index 3e5062e..38c6246 100644 --- a/wmmemfree/wmmemfree.c +++ b/wmmemfree/wmmemfree.c @@ -18,6 +18,7 @@ * Foundation, Inc., 59 Temple Street #330, Boston, MA 02111-1307, USA. */ +#include #include #include #include