apmd/apmd-kernel-2.4.patch

20 lines
546 B
Diff
Raw Normal View History

diff -ruN apmd.orig/apmsleep.c apmd/apmsleep.c
--- apmd.orig/apmsleep.c 2002-08-21 12:05:09.000000000 +0200
+++ apmd/apmsleep.c 2002-08-21 12:06:38.000000000 +0200
@@ -49,7 +49,6 @@
#include <asm/spinlock.h>
#endif
-#include <linux/mc146818rtc.h>
#include <sys/ioctl.h>
#include <sys/time.h>
#include <time.h>
@@ -61,6 +60,7 @@
#include <sys/wait.h>
#include <time.h>
#include <apm.h>
+#include <linux/rtc.h>
static char rcsid[]="$Id: apmsleep.c,v 1.1 1999/08/02 20:08:08 apenwarr Exp $";
static char rcsrev[] = "$Revision: 1.1 $";