portability

This commit is contained in:
Vítor Santos Costa
2014-11-28 02:34:26 +00:00
parent 635d5166ce
commit 84e4162435
3 changed files with 9 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ is supposed to give the POSIX standard one.
#include "pl-incl.h"
#include "pl-ctype.h"
#include "pl-utf8.h"
#include <stdlib.h>
#include <math.h>
#include <stdio.h> /* rename() and remove() prototypes */
@@ -60,6 +61,9 @@ is supposed to give the POSIX standard one.
#if HAVE_SYS_STAT_H
#include <sys/stat.h>
#endif
#if HAVE_ALLOCA_H
#include <alloca.h>
#endif
#ifdef O_XOS
#define statstruct struct _stati64
#else