summaryrefslogtreecommitdiffstats
path: root/contrib/elftoolchain/elfcopy
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-12-01 16:07:31 +0000
committeremaste <emaste@FreeBSD.org>2014-12-01 16:07:31 +0000
commita3eff01c3a1b3341e05810f1d4db9eed3e136b43 (patch)
tree2f257d2ce9237ffcf390f123fc1d565374752f18 /contrib/elftoolchain/elfcopy
parentd99dad80f5a85492f757ab60d5e2b5ba1e33bb29 (diff)
downloadFreeBSD-src-a3eff01c3a1b3341e05810f1d4db9eed3e136b43.zip
FreeBSD-src-a3eff01c3a1b3341e05810f1d4db9eed3e136b43.tar.gz
Fix elftoolchain tools in-tree build
* make variables static * add header for uint*_t typedefs
Diffstat (limited to 'contrib/elftoolchain/elfcopy')
-rw-r--r--contrib/elftoolchain/elfcopy/ascii.c1
-rw-r--r--contrib/elftoolchain/elfcopy/segments.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/elftoolchain/elfcopy/ascii.c b/contrib/elftoolchain/elfcopy/ascii.c
index 968e5c6..261180e 100644
--- a/contrib/elftoolchain/elfcopy/ascii.c
+++ b/contrib/elftoolchain/elfcopy/ascii.c
@@ -29,6 +29,7 @@
#include <ctype.h>
#include <err.h>
#include <gelf.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/contrib/elftoolchain/elfcopy/segments.c b/contrib/elftoolchain/elfcopy/segments.c
index c54cbfc..853c728 100644
--- a/contrib/elftoolchain/elfcopy/segments.c
+++ b/contrib/elftoolchain/elfcopy/segments.c
@@ -28,6 +28,7 @@
#include <sys/queue.h>
#include <err.h>
#include <gelf.h>
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
OpenPOWER on IntegriCloud