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.
This commit is contained in:
Mike Frysinger
2023-01-16 04:35:48 -05:00
parent e9bf6a4a20
commit 4cd7de783b
31 changed files with 4 additions and 67 deletions

View File

@@ -31,10 +31,7 @@
#include <errno.h>
#include <limits.h>
#include <string.h>
#ifdef HAVE_UNISTD_H
#include <unistd.h> /* For SEEK_SET etc. */
#endif
#include "armdefs.h"
#include "armos.h"