]> granicus.if.org Git - libexpat/commit
Include unistd.h when HAVE_UNISTD_H is defined, not _POSIX_SOURCE.
authorFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Thu, 13 Jun 2002 02:52:09 +0000 (02:52 +0000)
committerFred L. Drake, Jr. <fdrake@users.sourceforge.net>
Thu, 13 Jun 2002 02:52:09 +0000 (02:52 +0000)
commit8fbcd0a5c71e657b2a97a91f4c8579ada33461af
tree96f014c551663eec7253db6d8ba3d1b385aee54e
parente5577d615f1d64c22880a92b8a22a495cc77ad0f
Include unistd.h when HAVE_UNISTD_H is defined, not _POSIX_SOURCE.
This requires that expat_config.h or winconfig.h has been included.
Using unistd.h avoids warnings about close() and read() not being defined
on some platforms.
This closes SF bug #563184.
expat/xmlwf/xmlfile.c