On Fri, Nov 17, 2000 at 08:08:34PM +0000, John Levon wrote:
> 
> Rather it seems best to put it in broken_headers.h - your system is broken
> if you have functions not defined in headers, after all.

I suppose so.

> Does this work (you need to --with-broken-headers) ?

No. There are other compilation errors because the broken_headers.h
assumes too much broken-ness. I will get the actual compile errors
to you later.

                        ---Kayvan
> Index: ChangeLog
> ===================================================================
> RCS file: /usr/local/lyx/cvsroot/lyx-devel/ChangeLog,v
> retrieving revision 1.690
> diff -u -p -r1.690 ChangeLog
> --- ChangeLog 2000/11/17 11:17:11     1.690
> +++ ChangeLog 2000/11/17 19:51:55
> @@ -1,3 +1,8 @@
> +2000-11-17  John Levon  <[EMAIL PROTECTED]>
> +
> +     * src/broken_headers.h: define mkstemp as needed for
> +       Rob's SunOS 4 system
> +
>  2000-11-15  Rob Lahaye  <[EMAIL PROTECTED]>
>  
>       * lib/ui/default.ui: OptItem used for Fax entry
> Index: src/broken_headers.h
> ===================================================================
> RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/broken_headers.h,v
> retrieving revision 1.4
> diff -u -p -r1.4 broken_headers.h
> --- src/broken_headers.h      2000/03/09 03:36:45     1.4
> +++ src/broken_headers.h      2000/11/17 19:51:55
> @@ -24,6 +24,12 @@ void bcopy(unsigned char * b1, unsigned 
>  int readlink(char const * path, char * buf, int bufsiz);
>  int strcasecmp(char const * s1, char const * s2);
>  
> +// yes, #ifdef - Sun platforms can have this function 
> +// without defining it anywhere
> +#ifdef HAVE_MKSTEMP
> +int mkstemp(char *templ);
> +#endif
> +
>  #ifdef __cplusplus
>  }
>  #endif


-- 
Kayvan A. Sylvan                   | Proud husband of      | Father to my kids:
Sylvan Associates, Inc.            | Laura Isabella Sylvan | Katherine Yelena
http://www.successlinks.com/kayvan | Reach your goals now! | Robin Gregory

Reply via email to