diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-12-12T10·20+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-12-12T10·20+0000 |
commit | d86bd22d247227e36de9577f25ad35f8fd4c65e0 (patch) | |
tree | c2399fa492e19ee6d72f3305157ffba6ccdcc4a9 /src/libstore/build.cc | |
parent | ac5478eb525f85e560d822ab3b5cb6ccb664d56e (diff) |
* Define _GNU_SOURCE. Hopefully this fixes the build on Debian 4.0
(http://hydra.nixos.org/nixlog/384/1).
Diffstat (limited to 'src/libstore/build.cc')
-rw-r--r-- | src/libstore/build.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 6992d02c4d70..53828d5ce7fc 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -34,6 +34,9 @@ #include <sys/mount.h> #endif #if HAVE_SCHED_H +#if !defined _GNU_SOURCE +#define _GNU_SOURCE +#endif #include <sched.h> #endif |