Revision: 68942
http://sourceforge.net/p/brlcad/code/68942
Author: starseeker
Date: 2016-09-30 17:52:34 +0000 (Fri, 30 Sep 2016)
Log Message:
-----------
Build fixes, use bnetwork.h instead of arpa/inet.h
Modified Paths:
--------------
brlcad/trunk/include/brep/util.h
brlcad/trunk/src/librt/cache.c
Modified: brlcad/trunk/include/brep/util.h
===================================================================
--- brlcad/trunk/include/brep/util.h 2016-09-30 04:18:28 UTC (rev 68941)
+++ brlcad/trunk/include/brep/util.h 2016-09-30 17:52:34 UTC (rev 68942)
@@ -31,6 +31,8 @@
#include "common.h"
+#include "bnetwork.h" /* Needed for ntohl and htonl */
+
#ifdef __cplusplus
extern "C++" {
# include <cstring>
Modified: brlcad/trunk/src/librt/cache.c
===================================================================
--- brlcad/trunk/src/librt/cache.c 2016-09-30 04:18:28 UTC (rev 68941)
+++ brlcad/trunk/src/librt/cache.c 2016-09-30 17:52:34 UTC (rev 68942)
@@ -26,6 +26,11 @@
#include "common.h"
+#include <errno.h>
+#include <zlib.h>
+
+#include "bnetwork.h"
+
#include "cache.h"
#include "bu/cv.h"
@@ -37,11 +42,7 @@
#include "rt/db_io.h"
#include "rt/func.h"
-#include <arpa/inet.h>
-#include <errno.h>
-#include <zlib.h>
-
static const char * const cache_mime_type = "brlcad/cache";
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits