summaryrefslogblamecommitdiff
path: root/audio/krio/files/patch-ab
blob: 7e426b83cea2a13b5e54f869f23d78165ccacbee (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

                                                













                                                                        
--- krio/rio.cpp.orig	Fri Feb 18 11:07:32 2000
+++ krio/rio.cpp	Fri Feb 18 11:08:13 2000
@@ -79,6 +79,13 @@
 	#include	<fcntl.h>
 	#include	<unistd.h>
 	#include	<machine/cpufunc.h>
+	#if defined(__alpha__)
+		#include <sys/types.h>
+		extern "C" {
+			u_int8_t inb(u_int32_t);
+			void outb(u_int32_t, u_int8_t);
+		}
+	#endif
 	#define		OUTPORT(p,v)			outb( p, v )
 	#define		INPORT(p)				inb( p )
 	#define		CLOCK_SECOND			CLOCKS_PER_SEC