diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-08-24 11:55:03 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-08-24 11:55:03 +0100 |
commit | b8557005171b4031363bb74e710eb05cf68c67b6 (patch) | |
tree | 56167fe13af9732c09b463ddf9d705a53368778a /_obnammodule.c | |
parent | c24aa1a5308bc6e3c2676b58f5c47ce176b79f80 (diff) | |
download | obnam-b8557005171b4031363bb74e710eb05cf68c67b6.tar.gz |
Fix #define for _XOPEN_SOURCE to be conditional.
Diffstat (limited to '_obnammodule.c')
-rw-r--r-- | _obnammodule.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/_obnammodule.c b/_obnammodule.c index e32689b9..edd61fcc 100644 --- a/_obnammodule.c +++ b/_obnammodule.c @@ -34,7 +34,9 @@ #include <Python.h> +#ifndef _XOPEN_SOURCE #define _XOPEN_SOURCE 600 +#endif #include <errno.h> #include <fcntl.h> #include <stdio.h> |