*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
#ifndef _MDVI_PRIVATE_H
#define _MDVI_PRIVATE_H 1
#define HAVE_PROTOTYPES 1
+
+#if STDC_HEADERS
+# /* kpathsea's headers (wrongly!) redefine strchr() and strrchr() to
+# non ANSI C functions if HAVE_STRCHR and HAVE_STRRCHR are not defined.
+# */
+# ifndef HAVE_STRCHR
+# define HAVE_STRCHR
+# endif
+# ifndef HAVE_STRRCHR
+# define HAVE_STRRCHR
+# endif
+#endif
+
#include <kpathsea/debug.h>
#include <kpathsea/tex-file.h>
#include <kpathsea/tex-glyph.h>
#include <kpathsea/proginit.h>
#include <kpathsea/progname.h>
#include <kpathsea/tex-make.h>
+#include <kpathsea/lib.h>
#define ISSP(p) (*(p) == ' ' || *(p) == '\t')
#define SKIPSP(p) while(ISSP(p)) p++