[package] fix sane-backends compilation on ARM platforms
authorFlorian Fainelli <florian@openwrt.org>
Fri, 19 Mar 2010 18:07:42 +0000 (18:07 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 19 Mar 2010 18:07:42 +0000 (18:07 +0000)
SVN-Revision: 20305

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;