diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2024-02-13 10:02:00 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-13 10:02:00 -0500 |
commit | 225566e1f6586b15d5824d0fe54efafc765cbb1c (patch) | |
tree | 28b21dbe61b1676f3c9b73514f934a77717776d6 /include/relocation.h | |
parent | 4527a13debf7ca4c6c193bf2e82351bf3e9e3ea8 (diff) | |
parent | 4959d9c251ce603b8e32e7532559ad2a7867b6ab (diff) | |
download | stasis-225566e1f6586b15d5824d0fe54efafc765cbb1c.tar.gz |
Merge pull request #2 from jhunkeler/compat
Compatibility changes
Diffstat (limited to 'include/relocation.h')
-rw-r--r-- | include/relocation.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/relocation.h b/include/relocation.h index 2ccf762..ea9da9f 100644 --- a/include/relocation.h +++ b/include/relocation.h @@ -4,10 +4,16 @@ #ifndef OMC_RELOCATION_H #define OMC_RELOCATION_H +#include "config.h" + #include <stdio.h> #include <stdlib.h> #include <string.h> +#if defined(OMC_OS_DARWIN) +#include <limits.h> +# else #include <linux/limits.h> +#endif #include <unistd.h> void replace_text(char *original, const char *target, const char *replacement); |