diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2016-11-03 23:18:45 +0100 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2016-11-03 23:18:45 +0100 |
commit | 1075138fe86c405f85a6ea3d7c34cf9d6a1c7b0f (patch) | |
tree | 11f9092ecfee4c0d80b589d480e1579c5a40eb8b /kernel/yosys.h | |
parent | 2fba240fc8ec65b60c6cba2ffa022ca532a6817e (diff) | |
parent | fefe0fc0430f4f173a25e674708aa0f4f0854b31 (diff) |
Merge tag 'upstream/0.7'
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r-- | kernel/yosys.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h index aab6b584..ae73146b 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -64,6 +64,7 @@ #include <string.h> #include <stdint.h> #include <stdio.h> +#include <limits.h> #ifndef _YOSYS_ # error It looks like you are trying to build Yosys without the config defines set. \ @@ -100,6 +101,10 @@ # endif #endif +#ifndef PATH_MAX +# define PATH_MAX 4096 +#endif + #define PRIVATE_NAMESPACE_BEGIN namespace { #define PRIVATE_NAMESPACE_END } #define YOSYS_NAMESPACE_BEGIN namespace Yosys { |