summaryrefslogtreecommitdiffstats
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
committerAustin Foxley <austinf@cetoncorp.com>2009-09-18 11:46:01 -0700
commitcdf2f9aeb5450f6d17eef30935b24dda1589aed5 (patch)
tree65e2563fbd902928e28613d724c23b3181e95a20 /utils/porting.h
parent4e7ec2199a787c0edf752803c2b612de133a5972 (diff)
downloaduClibc-alpine-cdf2f9aeb5450f6d17eef30935b24dda1589aed5.tar.bz2
uClibc-alpine-cdf2f9aeb5450f6d17eef30935b24dda1589aed5.tar.xz
fix make {,install_}{,host}utils
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.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>