22 lines
507 B
Diff
22 lines
507 B
Diff
diff -ruN apmd.orig/apmsleep.c apmd/apmsleep.c
|
|
--- apmd.orig/apmsleep.c 2002-08-21 14:59:25.000000000 +0200
|
|
+++ apmd/apmsleep.c 2002-08-21 15:00:46.000000000 +0200
|
|
@@ -43,14 +43,16 @@
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
+#include <stdlib.h>
|
|
#include <linux/version.h>
|
|
|
|
#if LINUX_VERSION_CODE > KERNEL_VERSION(2,2,0)
|
|
-#include <asm/spinlock.h>
|
|
+#include <linux/spinlock.h>
|
|
#endif
|
|
|
|
#include <sys/ioctl.h>
|
|
#include <sys/time.h>
|
|
+#include <time.h>
|
|
#include <sys/types.h>
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|