libctf: add some missing #includes.

Causes warnings on (at least) recent FreeBSD.

libctf/
	* ctf-create.c: Include <unistd.h>.
	* ctf-open-bfd.c: Likewise.
This commit is contained in:
Nick Alcock 2019-12-16 11:38:57 +00:00
parent e755667f94
commit c1401ecc29
3 changed files with 7 additions and 0 deletions

View file

@ -25,6 +25,7 @@
#include <errno.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <elf.h>
#include <bfd.h>
#include "swap.h"