Hi all,
The attached patch correct the problem.
Best regards,
Max.
--- owfs-2.8p20/module/owlib/src/c/ow_enet_discover.c.orig 2012-11-01
19:13:22.000000000 +0100
+++ owfs-2.8p20/module/owlib/src/c/ow_enet_discover.c 2012-11-01
19:18:15.000000000 +0100
@@ -17,6 +17,10 @@
#include "ow.h"
#include "ow_counters.h"
#include "ow_connection.h"
+
+#if OW_HA7
+
+#include "ow_detect.h"
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
@@ -297,3 +301,4 @@
elist->head = new ;
}
+#endif /* OW_HA7 */
--- owfs-2.8p20/module/owlib/src/c/ow_server_enet.c.orig 2012-11-01
19:19:21.000000000 +0100
+++ owfs-2.8p20/module/owlib/src/c/ow_server_enet.c 2012-11-01
19:20:01.000000000 +0100
@@ -16,6 +16,9 @@
#include "ow.h"
#include "ow_counters.h"
#include "ow_connection.h"
+
+#if OW_HA7
+
#include "ow_codes.h"
#define BYTE_string(x) ((BYTE *)(x))
@@ -543,3 +546,5 @@
// the standard COM_free cleans up the connection
(void) in ;
}
+
+#endif /* OW_HA7 */
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers