solaris doesn't know limits.

This commit is contained in:
Costa Vitor 2009-06-16 23:26:03 -05:00
parent 8e74daf39e
commit 6a8f9faf4f
2 changed files with 6 additions and 0 deletions

View File

@ -30,6 +30,9 @@
#ifdef __WINDOWS__ #ifdef __WINDOWS__
#include "pl-mswchar.h" /* Terrible hack */ #include "pl-mswchar.h" /* Terrible hack */
#endif #endif
#if HAVE_LIMITS_H
#include <limits.h> /* solaris compatibility */
#endif
#undef LD #undef LD
#define LD LOCAL_LD #define LD LOCAL_LD

View File

@ -3,6 +3,9 @@
#include <stdio.h> #include <stdio.h>
#include "pl-incl.h" #include "pl-incl.h"
#ifdef HAVE_LIMITS_H
#include <limits.h>
#endif
int fileerrors; int fileerrors;