Show
Ignore:
Timestamp:
03/12/10 05:29:11 (2 years ago)
Author:
rakshasa
Message:

* Fixed the linux fallocate detection script.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/rtorrent/scripts/checks.m4

    r1130 r1143  
    163163  AC_COMPILE_IFELSE( 
    164164    [[#include <fcntl.h> 
    165       int main() { 
    166         fallocate(0, FALLOC_FL_KEEP_SIZE, 0, 0); 
     165      #include <linux/falloc.h> 
     166      int main() { 
     167      fallocate(0, FALLOC_FL_KEEP_SIZE, 0, 0); 
    167168        return 0; 
    168169      }