ORBit buld problem on HPUX (with patch)




This is the same problem I've reported in the past where it fails to build
in connection.c.  Below is a patch that'll let ORBit build nicely on HPUX.
For more info on the problem, see the mailing list archives.

The problem file is src/IIOP/connection.c


*** src/IIOP/connection.c.orig  Thu Jan 14 11:51:47 1999
--- src/IIOP/connection.c       Thu Jan 14 11:51:16 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
+ #undef
  #include "IIOP.h"
  #include "IIOP-private.h"
  #include "giop-msg-buffer.h"
***************
*** 10,16 ****
--- 16,28 ----
  #include <fcntl.h>
  #include <sys/socket.h>
  #include <sys/un.h>
+ #ifndef _XOPEN_SOURCE_EXTENDED
+ #     define _XOPEN_SOURCE_EXTENDED
+ #endif
  #include <arpa/inet.h>
+ #ifdef _XOPEN_SOURCE_EXTENDED
+ #     undef _XOPEN_SOURCE_EXTENDED
+ #undef
  #include <netdb.h>
  #include <ctype.h>
  #include <string.h>




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