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