$OpenBSD: patch-battstat_battstat_applet_c,v 1.2 2003/10/07 05:48:53 marcm Exp $
--- battstat/battstat_applet.c.orig	2003-07-23 19:02:45.000000000 -0700
+++ battstat/battstat_applet.c	2003-09-08 20:28:16.000000000 -0700
@@ -28,7 +28,6 @@
 #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 @@
 #include <apm.h>
 #endif
 
+#include <sys/sysctl.h>
 #include <err.h>
 #include <stdlib.h>
 #include <string.h>
