1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

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 <stdlib.h>
#include <sys/param.h> #include <sys/param.h>
#include <sys/stat.h> #include <sys/stat.h>
#if defined(__osf__) #if defined(__osf__) || defined(linux)
#include <unistd.h> #include <unistd.h>
#else #else
#if !defined(USL) && !defined(__uxp__) #if !defined(USL) && !defined(__uxp__)

View file

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

View file

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