From e22fe959028218a82c676512a096752866562ed8 Mon Sep 17 00:00:00 2001 From: caro Date: Sun, 22 Mar 2009 13:30:52 +0000 Subject: [PATCH] Fix compilation on OpenBSD (ticket #252). Patch by eumel git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@39625 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore/ecore_exe.c | 2 +- src/lib/ecore_con/ecore_con_dns.c | 3 +++ src/lib/ecore_con/ecore_con_info.c | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c index 25248c5..9d476c6 100644 --- a/src/lib/ecore/ecore_exe.c +++ b/src/lib/ecore/ecore_exe.c @@ -6,7 +6,7 @@ # include #endif -#ifdef __FreeBSD__ +#if defined (__FreeBSD__) || defined (__OpenBSD__) #include #include #endif diff --git a/src/lib/ecore_con/ecore_con_dns.c b/src/lib/ecore_con/ecore_con_dns.c index 0b7b29b..4ae6f7c 100644 --- a/src/lib/ecore_con/ecore_con_dns.c +++ b/src/lib/ecore_con/ecore_con_dns.c @@ -34,6 +34,9 @@ #include #include +#ifdef __OpenBSD__ +# include +#endif #include #include #include diff --git a/src/lib/ecore_con/ecore_con_info.c b/src/lib/ecore_con/ecore_con_info.c index 61ce499..45ed162 100644 --- a/src/lib/ecore_con/ecore_con_info.c +++ b/src/lib/ecore_con/ecore_con_info.c @@ -15,6 +15,9 @@ #include #include +#ifdef __OpenBSD__ +# include +#endif #include #include #include -- 2.7.4