134d97e1fd
dev/speaker/speaker.h was not MFCt to 5.x
21 lines
457 B
Text
21 lines
457 B
Text
--- 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"
|
|
|