This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
apmd/apmd-kernel-2.4.patch

20 lines
546 B
Diff

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 $";