From d86bd22d247227e36de9577f25ad35f8fd4c65e0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 12 Dec 2008 10:20:19 +0000 Subject: [PATCH] * Define _GNU_SOURCE. Hopefully this fixes the build on Debian 4.0 (http://hydra.nixos.org/nixlog/384/1). --- src/libstore/build.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 6992d02c4..53828d5ce 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -34,6 +34,9 @@ #include #endif #if HAVE_SCHED_H +#if !defined _GNU_SOURCE +#define _GNU_SOURCE +#endif #include #endif