aboutsummaryrefslogtreecommitdiff
path: root/include/relocation.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/relocation.h')
-rw-r--r--include/relocation.h6
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);