raster pushed a commit to branch master.

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

commit 7df7b1f5faf8a54d543e445a0ebe77ac13be801e
Author: Al Poole <nets...@gmail.com>
Date:   Sat Aug 12 10:49:08 2017 +0900

    FreeBSD: fix broken build.
    
    Reviewers: zmike!, raster
    
    Reviewed By: raster
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D5092
---
 src/modules/battery/e_mod_sysctl.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/modules/battery/e_mod_sysctl.c 
b/src/modules/battery/e_mod_sysctl.c
index 4d05b36d1..0667c1d18 100644
--- a/src/modules/battery/e_mod_sysctl.c
+++ b/src/modules/battery/e_mod_sysctl.c
@@ -5,8 +5,11 @@
 # include <err.h>
 # include <sys/types.h>
 # include <sys/sysctl.h>
+
+#if defined(__OpenBSD_) || defined(__NetBSD__)
 # include <sys/param.h>
 # include <sys/sensors.h>
+#endif
 
 static Eina_Bool _battery_sysctl_battery_update_poll(void *data EINA_UNUSED);
 static int       _battery_sysctl_battery_update();

-- 


Reply via email to