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_rec.c
diff --git
a/xdr_rec.c
b/xdr_rec.c
index
06a248c
..
6859c42
100644
(file)
--- a/
xdr_rec.c
+++ b/
xdr_rec.c
@@
-54,10
+54,6
@@
static char sccsid[] = "@(#)xdr_rec.c 1.21 87/08/11 Copyr 1984 Sun Micro";
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.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
@@
-65,6
+61,8
@@
static char sccsid[] = "@(#)xdr_rec.c 1.21 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"
+
extern long lseek();
static u_int fix_buf_size();
extern long lseek();
static u_int fix_buf_size();