From cce14fa8399afd3f8e244a2fb216ae4e5d50b942 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 14 Jul 2017 18:44:23 -0400 Subject: [PATCH] reduce include deps for enlightenment_thumb binary --- src/bin/e_sha1.c | 9 ++++++++- src/bin/e_user.c | 12 +++++++++++- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/src/bin/e_sha1.c b/src/bin/e_sha1.c index 375b26477..031ae378a 100644 --- a/src/bin/e_sha1.c +++ b/src/bin/e_sha1.c @@ -1,6 +1,13 @@ -#include "e.h" +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include +#ifndef E_API +#define E_API +#endif + + #ifdef HAVE_ARPA_INET_H # include #endif diff --git a/src/bin/e_user.c b/src/bin/e_user.c index e79717a6a..5db97b5a7 100644 --- a/src/bin/e_user.c +++ b/src/bin/e_user.c @@ -1,4 +1,14 @@ -#include "e.h" +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif +#include +#include +#include +#include + +#ifndef E_API +#define E_API +#endif static const char *_e_user_homedir = NULL; static size_t _e_user_homedir_len = 0;