diff options
author | Todd C. Miller <Todd.Miller@courtesan.com> | 2015-07-02 09:08:28 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@courtesan.com> | 2015-07-02 09:08:28 -0600 |
commit | 5c04f44dd1846975610e2477079c5e861db0da74 (patch) | |
tree | 4e4ac8277b98f41a1a468ec48837b6278e10f90c /src/openbsd.c | |
parent | 071f185426b71f32ddd8489197a7a1b3b3a3c3fe (diff) | |
download | sudo-5c04f44dd1846975610e2477079c5e861db0da74.tar.gz |
There's no need to conditionalize the #include <unistd.h>, we require
a POSIX system.
Diffstat (limited to 'src/openbsd.c')
-rw-r--r-- | src/openbsd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/openbsd.c b/src/openbsd.c index fb889e83c..97213fca4 100644 --- a/src/openbsd.c +++ b/src/openbsd.c @@ -25,9 +25,7 @@ #ifdef HAVE_STRINGS_H # include <strings.h> #endif /* HAVE_STRINGS_H */ -#ifdef HAVE_UNISTD_H -# include <unistd.h> -#endif /* HAVE_UNISTD_H */ +#include <unistd.h> #include "sudo.h" |