summaryrefslogtreecommitdiff
path: root/librpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-26 17:36:02 +1100
committerAndrew Tridgell <tridge@samba.org>2010-03-26 17:36:02 +1100
commitfae84f98e37e99e41b23739305e7331b3a34ae48 (patch)
treeaea198725ee6e85dd81e8b35d7a93e1c86269a1f /librpc
parentc81d2ae3c9a4f9b5d2291563f141bb10d64cd650 (diff)
downloadsamba-fae84f98e37e99e41b23739305e7331b3a34ae48.tar.gz
samba-fae84f98e37e99e41b23739305e7331b3a34ae48.tar.bz2
samba-fae84f98e37e99e41b23739305e7331b3a34ae48.zip
libutil: moved the networking defines to util_net.h
These were causing thousands of warnings on solaris8
Diffstat (limited to 'librpc')
-rw-r--r--librpc/ndr/ndr_basic.c1
-rw-r--r--librpc/rpc/binding.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/librpc/ndr/ndr_basic.c b/librpc/ndr/ndr_basic.c
index 1fd6fdea74..f7d6ee0449 100644
--- a/librpc/ndr/ndr_basic.c
+++ b/librpc/ndr/ndr_basic.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "system/network.h"
#include "librpc/ndr/libndr.h"
+#include "lib/util/util_net.h"
#define NDR_SVAL(ndr, ofs) (NDR_BE(ndr)?RSVAL(ndr->data,ofs):SVAL(ndr->data,ofs))
#define NDR_IVAL(ndr, ofs) (NDR_BE(ndr)?RIVAL(ndr->data,ofs):IVAL(ndr->data,ofs))
diff --git a/librpc/rpc/binding.c b/librpc/rpc/binding.c
index 3f15eef926..e3edc67882 100644
--- a/librpc/rpc/binding.c
+++ b/librpc/rpc/binding.c
@@ -23,6 +23,7 @@
*/
#include "includes.h"
+#include "../../lib/util/util_net.h"
#include "librpc/gen_ndr/ndr_epmapper.h"
#include "librpc/gen_ndr/ndr_misc.h"
#include "librpc/rpc/dcerpc.h"