diff options
author | Joey Hess <joey@kitenet.net> | 2011-03-16 12:06:32 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-03-16 12:06:32 -0400 |
commit | c93cd81a3372f50fb5b5c8b8668536c125dce463 (patch) | |
tree | f9bfd2a13fee94bfbfc86fdff047f23e52bbf162 /Touch.hsc | |
parent | 2e26caa8568001b33a969efc46f6911278686e0e (diff) |
define feature test macro
Diffstat (limited to 'Touch.hsc')
-rw-r--r-- | Touch.hsc | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -22,6 +22,10 @@ import Foreign.C #include <sys/stat.h> #include <fcntl.h> +#ifndef _POSIX_C_SOURCE +#define _POSIX_C_SOURCE >= 200809L +#endif + data TimeSpec = TimeSpec CTime CLong instance Storable TimeSpec where |