aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/table.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-01-16 04:35:48 -0500
committerMike Frysinger <vapier@gentoo.org>2023-01-16 04:35:48 -0500
commit4cd7de783bc72cc1f44fe989e7a0c7feb10532d5 (patch)
tree39e49c04f886bece9add9d5b076fc269170e4afa /sim/ppc/table.c
parente9bf6a4a20798cd495b2833112482ebc55bc5982 (diff)
downloadfsf-binutils-gdb-4cd7de783bc72cc1f44fe989e7a0c7feb10532d5.zip
fsf-binutils-gdb-4cd7de783bc72cc1f44fe989e7a0c7feb10532d5.tar.gz
fsf-binutils-gdb-4cd7de783bc72cc1f44fe989e7a0c7feb10532d5.tar.bz2
sim: formally assume unistd.h always exists (via gnulib)
We have many uses of unistd.h that are unprotected by HAVE_UNISTD_H, so this is more formalizing the reality that we require this header. Since we switched to gnulib, it guarantees that a unistd.h exists for us to include, so we're doubly OK.
Diffstat (limited to 'sim/ppc/table.c')
-rw-r--r--sim/ppc/table.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sim/ppc/table.c b/sim/ppc/table.c
index 6399bda..da16967 100644
--- a/sim/ppc/table.c
+++ b/sim/ppc/table.c
@@ -29,9 +29,7 @@
#include "lf.h"
#include "table.h"
-#ifdef HAVE_UNISTD_H
#include <unistd.h>
-#endif
#include <stdlib.h>
typedef struct _open_table open_table;