--- a/backend/qcam.c
+++ b/backend/qcam.c
@@ -105,6 +105,17 @@
 
 #include "qcam.h"
 
+#if !defined( __i386__) && !defined(__arm__)
+static inline unsigned char inb(unsigned int port)
+{
+	return 0;
+}
+
+static inline void outb(unsigned char value, unsigned int port)
+{
+}
+#endif
+
 /* status bits */
 #define NeedRamTable		(1 << 1)
 #define BlackBalanceInProgress	(1 << 6)