Add ioc constants for other targets as well, should fix buildbot errors
authorFlorian Fainelli <florian@openwrt.org>
Wed, 28 Mar 2007 10:02:24 +0000 (10:02 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Wed, 28 Mar 2007 10:02:24 +0000 (10:02 +0000)
SVN-Revision: 6738

net/chrony/patches/002-mips_ioc_constants.patch

index 918994c6d34c73115599156e2d973437e6442174..c25bd31d09b16d59aa9392ef618ac5141586910c 100644 (file)
@@ -5,7 +5,7 @@ diff -ru chrony-1.21.orig/io_linux.h chrony-1.21/io_linux.h
  #define CHRONY_IOC_NONE        1U
  #define CHRONY_IOC_READ        2U
  #define CHRONY_IOC_WRITE       4U
-+#elif defined(__mips__)
++#elif defined(__mips__) || (__powerpc__) || (__arm__)
 +#define CHRONY_IOC_NRBITS     8
 +#define CHRONY_IOC_TYPEBITS   8
 +#define CHRONY_IOC_SIZEBITS   13