[xslt] Patch for xsltproc.c



Hi all

Having to compile xsltproc on a very old platform (HP-UX 10.20),
I stumbled over a compiler error in xsltproc.c (unknown struct
`timeb') which can be avoided by including <sys/timeb.h>.
I enclose a patch.

Enjoy  (if you have to :-)

Kurt

-- 
Kurt Sonnenmoser
Aris AG, Zürich
Tel: +41 (0)1 363 11 77
http://www.aris-geoservices.ch
mailto:ks@aris-geoservices.ch

*** xsltproc.c.orig	2003-05-30 15:43:02.000000000 +0200
--- xsltproc.c	2003-05-30 15:49:25.000000000 +0200
***************
*** 15,20 ****
--- 15,23 ----
  #ifdef HAVE_SYS_TIME_H
  #include <sys/time.h>
  #endif
+ #ifdef HAVE_SYS_TIMEB_H
+ #include <sys/timeb.h>
+ #endif
  #ifdef HAVE_TIME_H
  #include <time.h>
  #endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]