diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-10-16T14·16+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2008-10-16T14·16+0000 |
commit | 9d6d50269bef214473580a879f6194e02692fe16 (patch) | |
tree | 463c6382f058e03c65725dba1e4dc2db6a83d4ff /src/libstore/store-api.cc | |
parent | fa61ee70ee80b2b223fae86ee197987aa70499b2 (diff) |
* Bug fix for building on some old installations (contributed by Pjotr).
Diffstat (limited to 'src/libstore/store-api.cc')
-rw-r--r-- | src/libstore/store-api.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc index 23631a3b8e9c..ced5fd0072e8 100644 --- a/src/libstore/store-api.cc +++ b/src/libstore/store-api.cc @@ -5,6 +5,12 @@ #include <limits.h> +/* Needed for some ancient environments. */ +#ifndef ULLONG_MAX +#define ULLONG_MAX 18446744073709551615 +#endif + + namespace nix { |