discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=cce14fa8399afd3f8e244a2fb216ae4e5d50b942

commit cce14fa8399afd3f8e244a2fb216ae4e5d50b942
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Jul 14 18:44:23 2017 -0400

    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 <string.h>
 
+#ifndef E_API
+#define E_API
+#endif
+
+
 #ifdef HAVE_ARPA_INET_H
 # include <arpa/inet.h>
 #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 <stdio.h>
+#include <string.h>
+#include <limits.h>
+#include <Efreet.h>
+
+#ifndef E_API
+#define E_API
+#endif
 
 static const char *_e_user_homedir = NULL;
 static size_t _e_user_homedir_len = 0;

-- 


Reply via email to