Commits

David Krentzlin committed 0d741cb

added missing XOPEN_SOURCE define

  • Participants
  • Parent commits b3c9092

Comments (0)

Files changed (1)

File strategies/sendfile.linux.scm

-(foreign-declare "#include <sys/sendfile.h>\n#include <fcntl.h>\n#include<errno.h>")
+(foreign-declare "#include <sys/sendfile.h>\n#define _XOPEN_SOURCE 600\n#include <fcntl.h>\n#include<errno.h>")
 (cond-expand
   (posix-fadvise
    (foreign-declare "#define READ_AHEAD (4 * 1024 * 1024)")