[package] fix sane-backends compilation on ARM platforms
[openwrt/svn-archive/archive.git] / utils / sane-backends / patches / 020-non-i386-qcam.patch
index 1e1b631..2dbb7d8 100644 (file)
@@ -4,7 +4,7 @@
  
  #include "qcam.h"
  
-+#ifndef __i386__
++#if !defined( __i386__) && !defined(__arm__)
 +static inline unsigned char inb(unsigned int port)
 +{
 +      return 0;