]> git.pld-linux.org Git - packages/util-linux.git/commitdiff
- fixed for building with kernel 2.2
authormarcus <marcus@pld-linux.org>
Thu, 16 May 2002 15:38:52 +0000 (15:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    util-linux-ppc-hwclock.patch -> 1.2

util-linux-ppc-hwclock.patch

index 40a86fd97bafbce7052f7c3dbcb5a5dec1601198..65e55d256c46a44f4840d4a7c863db5504822004 100644 (file)
@@ -13,7 +13,13 @@ diff -urN util-linux-2.11n.org/clock-ppc.c util-linux-2.11n/clock-ppc.c
 +#include <getopt.h>
 +#include <sys/time.h>
 +
++#include <linux/version.h>
++
++#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,4,0)
++#include <asm/cuda.h>
++#else
 +#include <linux/cuda.h>
++#endif
 +
 +/*
 + * Adapted for Power Macintosh by Paul Mackerras.
This page took 0.03387 seconds and 4 git commands to generate.