Linux uses unistd.h not osfcn.h

This commit is contained in:
Peter Howkins 2012-03-11 23:57:12 +00:00
parent e8fe4970eb
commit 5aea241fd1
3 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@
#include <stdlib.h>
#include <sys/param.h>
#include <sys/stat.h>
#if defined(__osf__)
#if defined(__osf__) || defined(linux)
#include <unistd.h>
#else
#if !defined(USL) && !defined(__uxp__)

View File

@ -33,7 +33,7 @@
*/
#include <errno.h>
#if defined(__osf__)
#if defined(__osf__) || defined(linux)
#include <unistd.h>
#else
#ifndef USL

View File

@ -32,7 +32,7 @@
*
*/
#if defined(__osf__)
#if defined(__osf__) || defined(linux)
#include <unistd.h>
#else
#if defined (USL) || defined(__uxp__)