diff -Nurd -x'*~' ORBit2-2.14.7.orig/include/orbit/GIOP/Makefile.in ORBit2-2.14.7/include/orbit/GIOP/Makefile.in --- ORBit2-2.14.7.orig/include/orbit/GIOP/Makefile.in 2007-02-26 13:16:03.000000000 -0500 +++ ORBit2-2.14.7/include/orbit/GIOP/Makefile.in 2007-11-12 19:42:20.000000000 -0500 @@ -192,9 +192,7 @@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ giop_headers = \ - giop-endian.h \ giop-connection.h \ - giop-endian.h \ giop-recv-buffer.h \ giop-send-buffer.h \ giop-server.h \ diff -Nurd -x'*~' ORBit2-2.14.7.orig/include/orbit/GIOP/giop.h ORBit2-2.14.7/include/orbit/GIOP/giop.h --- ORBit2-2.14.7.orig/include/orbit/GIOP/giop.h 2007-01-22 08:16:28.000000000 -0500 +++ ORBit2-2.14.7/include/orbit/GIOP/giop.h 2007-11-12 19:41:51.000000000 -0500 @@ -9,7 +9,6 @@ #include #include #include -#include G_BEGIN_DECLS diff -Nurd -x'*~' ORBit2-2.14.7.orig/src/orb/GIOP/Makefile.in ORBit2-2.14.7/src/orb/GIOP/Makefile.in --- ORBit2-2.14.7.orig/src/orb/GIOP/Makefile.in 2007-02-26 13:16:06.000000000 -0500 +++ ORBit2-2.14.7/src/orb/GIOP/Makefile.in 2007-11-12 19:40:28.000000000 -0500 @@ -44,7 +44,7 @@ LTLIBRARIES = $(noinst_LTLIBRARIES) libGIOP_la_LIBADD = am_libGIOP_la_OBJECTS = giop-connection.lo giop-server.lo giop.lo \ - giop-send-buffer.lo giop-recv-buffer.lo giop-endian.lo + giop-send-buffer.lo giop-recv-buffer.lo libGIOP_la_OBJECTS = $(am_libGIOP_la_OBJECTS) DEFAULT_INCLUDES = -I. -I$(top_builddir)@am__isrc@ depcomp = $(SHELL) $(top_srcdir)/depcomp @@ -228,8 +228,7 @@ giop-debug.h \ giop-private.h \ giop-send-buffer.c \ - giop-recv-buffer.c \ - giop-endian.c + giop-recv-buffer.c all: all-am @@ -283,7 +282,6 @@ -rm -f *.tab.c @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/giop-connection.Plo@am__quote@ -@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/giop-endian.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/giop-recv-buffer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/giop-send-buffer.Plo@am__quote@ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/giop-server.Plo@am__quote@ diff -Nurd -x'*~' ORBit2-2.14.7.orig/src/orb/orb-core/corba-any.c ORBit2-2.14.7/src/orb/orb-core/corba-any.c --- ORBit2-2.14.7.orig/src/orb/orb-core/corba-any.c 2007-01-01 18:01:32.000000000 -0500 +++ ORBit2-2.14.7/src/orb/orb-core/corba-any.c 2007-11-12 19:39:40.000000000 -0500 @@ -6,6 +6,18 @@ #define SKIP_ALIAS(tc) \ while ((tc)->kind == CORBA_tk_alias) { (tc) = (tc)->subtypes [0]; } +static void +giop_byteswap (guchar *outdata, + const guchar *data, + gulong datalen) +{ + const guchar *source_ptr = data; + guchar *dest_ptr = (guchar *) outdata + datalen - 1; + + while (dest_ptr >= outdata) + *dest_ptr-- = *source_ptr++; +} + size_t ORBit_gather_alloc_info (CORBA_TypeCode tc) {