Changeset 386


Ignore:
Timestamp:
Jan 12, 2012, 8:54:31 PM (13 years ago)
Author:
katerina
Message:

Fix for ticket #283 (O_NOATIME not seen in sh_files.c).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_files.c

    r383 r386  
    3636#include <sys/types.h>
    3737#include <unistd.h>
     38#include <sys/types.h>
     39#include <sys/stat.h>
     40#include <fcntl.h>
     41
     42#if !defined(O_NOATIME)
     43#if defined(__linux__) && (defined(__i386__) || defined(__PPC__))
     44#define O_NOATIME 01000000
     45#endif
     46#endif
    3847
    3948#include <utime.h>
Note: See TracChangeset for help on using the changeset viewer.