xbattmon

simple battery monitor for X
git clone git://git.2f30.org/xbattmon
Log | Files | Refs | README | LICENSE

commit 321794f0b8818edf9a2f4ef6add9ffc54040b756
parent affca0347b5dfa97cd1f5390bc694f7d683dc4c1
Author: sin <sin@2f30.org>
Date:   Sun,  2 Nov 2014 14:51:52 +0000

Include bsd/stdlib.h on Linux

Diffstat:
Mxbattmon.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/xbattmon.c b/xbattmon.c @@ -9,6 +9,9 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> +#ifdef __linux__ +#include <bsd/stdlib.h> +#endif #ifdef __OpenBSD__ #include <machine/apmvar.h>