]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Define io_linux.h constants for x86_64
authorRichard P. Curnow <rc@rc0.org.uk>
Sun, 2 Dec 2007 14:39:50 +0000 (14:39 +0000)
committerRichard P. Curnow <rc@rc0.org.uk>
Sun, 2 Dec 2007 14:39:50 +0000 (14:39 +0000)
Based on thread from chrony-users, October 2007.

io_linux.h

index b381eec95779b7f4aaadc4d5675ce1f730b72434..78479b3b82261ee7e2e96dcb71456874db4fbf4f 100644 (file)
@@ -6,7 +6,7 @@
 
 /* Hmm.  These constants vary a bit between systems. */
 /* (__sh__ includes both sh and sh64) */
-#if defined(__i386__) || defined(__sh__) || defined(__arm__)
+#if defined(__i386__) || defined(__sh__) || defined(__arm__)||defined(__x86_64__)
 #define CHRONY_IOC_NRBITS      8
 #define CHRONY_IOC_TYPEBITS    8
 #define CHRONY_IOC_SIZEBITS    14