git.annexia.org
/
portablexdr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix static linking / lack of htonl problem. Release 4.0.10.
[portablexdr.git]
/
xdr_stdio.c
diff --git
a/xdr_stdio.c
b/xdr_stdio.c
index
8e930be
..
8c9b039
100644
(file)
--- a/
xdr_stdio.c
+++ b/
xdr_stdio.c
@@
-45,10
+45,6
@@
static char sccsid[] = "@(#)xdr_stdio.c 1.16 87/08/11 Copyr 1984 Sun Micro";
#include <stdio.h>
#include <stdio.h>
-#ifdef HAVE_WINSOCK2_H
-#include <winsock2.h>
-#endif
-
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
@@
-56,6
+52,8
@@
static char sccsid[] = "@(#)xdr_stdio.c 1.16 87/08/11 Copyr 1984 Sun Micro";
#include <rpc/types.h>
#include <rpc/xdr.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
+#include "byteswap.h"
+
#if defined(__CYGWIN32__) || defined(__MINGW32__)
#include <stdlib.h>
#include <fcntl.h>
#if defined(__CYGWIN32__) || defined(__MINGW32__)
#include <stdlib.h>
#include <fcntl.h>