$OpenBSD: patch-battstat_properties_c,v 1.4 2004/02/22 05:33:53 marcm Exp $
--- battstat/properties.c.orig	2004-01-14 13:16:50.000000000 -0800
+++ battstat/properties.c	2004-02-20 22:26:31.000000000 -0800
@@ -28,7 +28,6 @@ $Id: properties.c,v 1.28.2.2 2003/12/14 
 #include <sys/file.h>
 #include <sys/ioctl.h>
 #include <sys/types.h>
-#include <sys/sysctl.h>
 #include <stdio.h>
 
 #ifdef __FreeBSD__
@@ -40,6 +39,7 @@ $Id: properties.c,v 1.28.2.2 2003/12/14 
 #include <apm.h>
 #endif
 
+#include <sys/sysctl.h>
 #include <err.h>
 #include <stdlib.h>
 #include <string.h>
