Hi, With the libc6-dev in current debian sid, I need to include <linux/fs.h> to compile. Else gcc will complain
swsusp.h:141: error: "SYNC_FILE_RANGE_WRITE" undeclared This problem was hidden by the fact that that constant is defined in swsusp.h if SYS_sync_file_range was not, which wasn't defined in older version of libc6. #ifndef SYS_sync_file_range #ifdef __i386__ #define SYS_sync_file_range 314 #endif #ifdef __x86_64__ #define SYS_sync_file_range 277 #endif #define SYNC_FILE_RANGE_WRITE 2 #endif --- trunk/suspend-0.2/swsusp.h 2006-08-09 11:25:06.000000000 +0200 +++ suspend-cvs/swsusp.h 2006-08-08 13:50:19.000000000 +0200 @@ -10,7 +10,6 @@ */ #include <stdint.h> -#include <linux/fs.h> #include "encrypt.h" ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Suspend-devel mailing list Suspend-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/suspend-devel