$OpenBSD: patch-battstat_properties_c,v 1.1.1.1 2003/01/31 18:42:04 todd Exp $
--- battstat/properties.c.orig	Tue Oct  1 17:11:23 2002
+++ battstat/properties.c	Tue Oct  1 17:12:04 2002
@@ -28,7 +28,6 @@ $Id: properties.c,v 1.19.2.1 2002/07/10 
 #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.19.2.1 2002/07/10 
 #include <apm.h>
 #endif
 
+#include <sys/sysctl.h>
 #include <err.h>
 #include <stdio.h>
 #include <stdlib.h>
