Re: ORBit compile on HPUX (again!)



What warnings/errors does this fix, BTW?

	Jeff




On Thu, 28 Jan 1999, Dan Newcombe wrote:

> 
> This is about the 5th time I've said this:
> 
> ORBit fails to build on HPUX (h_errno not defined in connection.c)
> This fixes it in a rather benign manner:
> 
> *** src/IIOP/connection.c.orig  Thu Jan 28 16:02:23 1999
> --- src/IIOP/connection.c       Thu Jan 28 16:04:02 1999
> ***************
> *** 1,5 ****
> --- 1,11 ----
>   #include "config.h"
> + #ifndef _XOPEN_SOURCE_EXTENDED
> + #     define _XOPEN_SOURCE_EXTENDED
> + #endif
>   #include "iiop-endianP.h"
> + #ifdef _XOPEN_SOURCE_EXTENDED
> + #     undef _XOPEN_SOURCE_EXTENDED
> + #endif
>   #include "IIOP.h"
>   #include "IIOP-private.h"
>   #include "giop-msg-buffer.h"
> ***************
> *** 10,17 ****
> --- 16,29 ----
>   #include <fcntl.h>
>   #include <sys/socket.h>
>   #include <sys/un.h>
> + #ifndef _XOPEN_SOURCE_EXTENDED
> + #     define _XOPEN_SOURCE_EXTENDED
> + #endif
>   #include <arpa/inet.h>
>   #include <netdb.h>
> + #ifdef _XOPEN_SOURCE_EXTENDED
> + #     undef _XOPEN_SOURCE_EXTENDED
> + #endif
>   #include <ctype.h>
>   #include <string.h>
>   #include <sys/time.h>
> 
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.
> 
> 



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