From a38b90dbab1cee79d107a30a80023e9b9b58158f Mon Sep 17 00:00:00 2001 From: o9000 Date: Thu, 31 Dec 2015 16:45:08 +0100 Subject: [PATCH] Fix battery compilation for DragonFly BSD --- src/battery/freebsd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battery/freebsd.c b/src/battery/freebsd.c index bf76b6d..ab13082 100644 --- a/src/battery/freebsd.c +++ b/src/battery/freebsd.c @@ -15,7 +15,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. **************************************************************************/ -#if defined(__FreeBSD__) +#if defined(__FreeBSD__) || defined(__DragonFly__) #include #include