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:
parent
e755667f94
commit
c1401ecc29
3 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2020-06-26 Nick Alcock <nick.alcock@oracle.com>
|
||||||
|
|
||||||
PR libctf/25120
|
PR libctf/25120
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <zlib.h>
|
#include <zlib.h>
|
||||||
|
|
||||||
#ifndef roundup
|
#ifndef roundup
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
|
#include <unistd.h>
|
||||||
#include <elf.h>
|
#include <elf.h>
|
||||||
#include <bfd.h>
|
#include <bfd.h>
|
||||||
#include "swap.h"
|
#include "swap.h"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue