diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-16 04:35:48 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-16 04:35:48 -0500 |
commit | 4cd7de783bc72cc1f44fe989e7a0c7feb10532d5 (patch) | |
tree | 39e49c04f886bece9add9d5b076fc269170e4afa /sim/ppc/hw_disk.c | |
parent | e9bf6a4a20798cd495b2833112482ebc55bc5982 (diff) | |
download | gdb-4cd7de783bc72cc1f44fe989e7a0c7feb10532d5.zip gdb-4cd7de783bc72cc1f44fe989e7a0c7feb10532d5.tar.gz 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/hw_disk.c')
-rw-r--r-- | sim/ppc/hw_disk.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sim/ppc/hw_disk.c b/sim/ppc/hw_disk.c index 3a82520..54a11f6 100644 --- a/sim/ppc/hw_disk.c +++ b/sim/ppc/hw_disk.c @@ -26,10 +26,7 @@ #include "pk.h" #include <stdio.h> - -#ifdef HAVE_UNISTD_H #include <unistd.h> -#endif #ifndef SEEK_SET #define SEEK_SET 0 |