$OpenBSD: patch-battstat_properties_c,v 1.2 2003/06/12 20:12:55 marcm Exp $
--- battstat/properties.c.orig	Mon Mar 10 09:45:31 2003
+++ battstat/properties.c	Mon May 26 23:06:30 2003
@@ -28,7 +28,6 @@ $Id: properties.c,v 1.22 2002/09/19 03:1
 #include <sys/file.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
-#include <sys/sysctl.h>
 
 #ifdef __FreeBSD__
 #include <machine/apm_bios.h>
@@ -39,6 +38,7 @@ $Id: properties.c,v 1.22 2002/09/19 03:1
 #include <apm.h>
 #endif
 
+#include <sys/sysctl.h>
 #include <err.h>
 #include <stdio.h>
 #include <stdlib.h>
