diff options
author | emaste <emaste@FreeBSD.org> | 2014-12-01 16:07:31 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2014-12-01 16:07:31 +0000 |
commit | a3eff01c3a1b3341e05810f1d4db9eed3e136b43 (patch) | |
tree | 2f257d2ce9237ffcf390f123fc1d565374752f18 /contrib/elftoolchain/elfcopy | |
parent | d99dad80f5a85492f757ab60d5e2b5ba1e33bb29 (diff) | |
download | FreeBSD-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.c | 1 | ||||
-rw-r--r-- | contrib/elftoolchain/elfcopy/segments.c | 1 |
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> |