[PATCH] small include addition to compile 1.95.7 on BeOS
| Newsgroups | gmane.text.xml.expat.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, There is only one more include needed to compile expat on BeOS, it would be great if it could be applied to official sources :) THX in advance Regards Shard _______________________________________________ Expat-bugs mailing list [email protected] http://mail.libexpat.org/mailman/listinfo/expat-bugs
expat-1.95.7-BeOS.diff
(text/plain, 494 B)
diff -r -u /boot/home/Unzipped/expat-1.95.7/xmlwf/readfilemap.c /BeStorage/Sources/Apps/LibPak/src_current/expat-1.95.7/xmlwf/readfilemap.c --- /boot/home/Unzipped/expat-1.95.7/xmlwf/readfilemap.c Wed Nov 20 17:20:10 2002 +++ /BeStorage/Sources/Apps/LibPak/src_current/expat-1.95.7/xmlwf/readfilemap.c Mon Oct 27 18:58:34 2003 @@ -8,6 +8,10 @@ #include <stdlib.h> #include <stdio.h> +#ifdef __BEOS__ +#include <unistd.h> +#endif + #ifndef S_ISREG #ifndef S_IFREG #define S_IFREG _S_IFREG