It is not Solaris specific issue, look at open(2) manpage in Linux (e.g. ,http://linux.die.net/man/2/open), including just sys/fcntl.h is not enough, it works on some Linux distros only because of luck. It is not about some ifdef, it is about POSIX.
It is not Solaris specific issue, look at open(2) manpage in Linux (e.g. ,http:// linux.die. net/man/ 2/open), including just sys/fcntl.h is not enough, it works on some Linux distros only because of luck. It is not about some ifdef, it is about POSIX.