Causes warnings on (at least) recent FreeBSD.
libctf/
* ctf-create.c: Include <unistd.h>.
* ctf-open-bfd.c: Likewise.
+2020-06-26 Nick Alcock <nick.alcock@oracle.com>
+
+ * ctf-create.c: Include <unistd.h>.
+ * ctf-open-bfd.c: Likewise.
+
2020-06-26 Nick Alcock <nick.alcock@oracle.com>
PR libctf/25120
#include <sys/param.h>
#include <assert.h>
#include <string.h>
+#include <unistd.h>
#include <zlib.h>
#ifndef roundup
#include <errno.h>
#include <string.h>
#include <fcntl.h>
+#include <unistd.h>
#include <elf.h>
#include <bfd.h>
#include "swap.h"