summaryrefslogtreecommitdiff
path: root/sysutils/wmhm/files/patch-ac
blob: c7f2b816ee52fd5fb7a21cf9ba838a9f00906742 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- operations.c.orig	Sun Jul 22 07:00:55 2001
+++ operations.c	Sat Mar 24 14:29:26 2007
@@ -39,12 +39,16 @@
 #include <unistd.h>
 #include <math.h>
 #include <machine/cpufunc.h>
+#include <osreldate.h>
+#if __FreeBSD_version >= 601000
+#include <dev/speaker/speaker.h>
+#else
 #include <machine/speaker.h>
+#endif
 
 #ifdef HAVE_SMBUS
-#include <machine/smb.h>
+#include <dev/smbus/smb.h>
 #endif
-#include "machine/speaker.h"
 
 #include "operations.h"