Fix battery compilation for DragonFly BSD

This commit is contained in:
o9000 2015-12-31 16:45:08 +01:00
parent 54f2b34623
commit a38b90dbab

View file

@ -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 <sys/types.h>
#include <sys/sysctl.h>