summaryrefslogtreecommitdiff
path: root/utils/porting.h
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 16:07:31 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-09-18 16:07:31 +0200
commit35c8387f6d3dd3d901bdc9bb7eb1c681cd1b2c0d (patch)
tree6044fbbc6d5dd2e5cb51692165261931ac8fc7a8 /utils/porting.h
parentfb1195bae982bdb4094867fd68cf9de9f71c5ecc (diff)
fix make {,install_}{,host}utils
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
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>