summaryrefslogtreecommitdiff
path: root/utils/porting.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/porting.h')
-rw-r--r--utils/porting.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/porting.h b/utils/porting.h
index b0d1f1af9..d4ead17d4 100644
--- a/utils/porting.h
+++ b/utils/porting.h
@@ -33,11 +33,13 @@
# include <sys/mman.h>
#endif
+#ifdef BUILDING_LINKAGE
#include <link.h>
/* makefile will include elf.h for us */
#include "bswap.h"
#include "dl-defs.h"
+#endif
#ifdef DMALLOC
#include <dmalloc.h>