public inbox for b.a.t.m.a.n@lists.open-mesh.org
 help / color / mirror / Atom feed
* [B.A.T.M.A.N.] [PATCH] Compile vis under FreeBSD and OSX
@ 2009-01-13 10:52 Antoine van Gelder
  2009-01-13 18:46 ` [B.A.T.M.A.N.] " Sven Eckelmann
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Antoine van Gelder @ 2009-01-13 10:52 UTC (permalink / raw)
  To: The list for a Better Approach To Mobile Ad-hoc Networking


[-- Attachment #1.1: Type: text/plain, Size: 114 bytes --]

Some additional includes are required to compile the B.A.T.M.A.N.  
visualization daemon under FreeBSD and OSX.



[-- Attachment #1.2: platform.patch --]
[-- Type: application/octet-stream, Size: 737 bytes --]

Index: vis.c
===================================================================
--- vis.c	(revision 1178)
+++ vis.c	(working copy)
@@ -23,6 +23,9 @@
 
 
 #include <fcntl.h>
+#if defined(__FreeBSD__) || defined (__APPLE__)
+  #include <sys/socket.h>
+#endif
 #include <net/if.h>
 #include <sys/ioctl.h>
 #include <sys/select.h>
Index: vis.h
===================================================================
--- vis.h	(revision 1178)
+++ vis.h	(working copy)
@@ -25,6 +25,12 @@
 #include <pthread.h>
 #include <sys/socket.h>
 #include <sys/types.h>
+#if defined(__FreeBSD__) || defined (__APPLE__)
+  #include <netinet/in.h>
+#endif
+#if defined(__APPLE__)
+  #include <sys/time.h>
+#endif
 #include <arpa/inet.h>
 #include <errno.h>
 

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2009-02-06 18:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-13 10:52 [B.A.T.M.A.N.] [PATCH] Compile vis under FreeBSD and OSX Antoine van Gelder
2009-01-13 18:46 ` [B.A.T.M.A.N.] " Sven Eckelmann
2009-01-13 21:29   ` Antoine van Gelder
2009-01-14  0:45     ` Sven Eckelmann
2009-01-14  0:59       ` [B.A.T.M.A.N.] [PATCH] Sync definitions in bsd/* with definitions in os.h Sven Eckelmann
2009-01-14  1:36       ` [B.A.T.M.A.N.] Compile vis under FreeBSD and OSX Sven Eckelmann
2009-02-06 18:00         ` [B.A.T.M.A.N.] [PATCH] Introduce get_tunneled_(protocol|udpdest) for better portability Sven Eckelmann
2009-02-06 18:00         ` [B.A.T.M.A.N.] [PATCH] Add bsd-stubs for nat functionality Sven Eckelmann
2009-01-14 10:56       ` [B.A.T.M.A.N.] Compile vis under FreeBSD and OSX Sven Eckelmann
2009-01-14 14:55         ` Antoine van Gelder
2009-01-14 10:58       ` [B.A.T.M.A.N.] [PATCH] Suppress warning about unused parameter in bsd/*.c Sven Eckelmann
2009-01-18 20:17       ` [B.A.T.M.A.N.] Compile batmand under FreeBSD and OSX (Was: Compile vis) Antoine van Gelder
2009-01-13 18:46 ` [B.A.T.M.A.N.] [PATCH] Fix compilation on freebsd Sven Eckelmann
2009-01-13 19:00   ` Outback Dingo
2009-01-13 20:45 ` [B.A.T.M.A.N.] [PATCH] Compile vis under FreeBSD and OSX Simon Wunderlich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox