Updates form Randall Hopper for the FreeBSD build

This commit is contained in:
Robert Osfield 2001-12-29 12:28:24 +00:00
parent c236e38b90
commit 460a78b454
4 changed files with 15 additions and 4 deletions

View File

@ -6,6 +6,9 @@ DIRS = sgv osgconv osgcube osgreflect osgtexture osgimpostor osgviews hangglide
# comment out if you don't have the freetype and GLU1.3 library installed.
DIRS += osgtext
# comment out if you don't have the wxWindows installed.
# DIRS += wxsgv
all :
for f in $(DIRS) ; do cd $$f; $(MAKE) || exit 1; cd ..; done

View File

@ -13,10 +13,14 @@
#include <netdb.h>
#include <string.h>
#ifdef __linux
#include <linux/sockios.h>
#if defined(__linux)
# include <linux/sockios.h>
#elif defined(__FreeBSD__)
# include <sys/sockio.h>
#elif defined(__sgi)
# include <net/soioctl.h>
#else
#include <net/soioctl.h>
# error Teach me how to build on this system
#endif
#include "broadcaster.h"

View File

@ -8,6 +8,7 @@
#include <netdb.h>
#include <arpa/inet.h>
#include <sys/time.h>
#include <string.h>
#include "receiver.h"
@ -77,7 +78,7 @@ void Receiver::sync( void )
return;
}
#ifdef __linux
#if defined(__linux) || defined(__FreeBSD__)
socklen_t
#else
int

View File

@ -6,6 +6,9 @@ DIRS = osg osgDB osgUtil osgGLUT
# comment out if you don't have the freetype and GLU1.3 library installed.
DIRS += osgText
# comment out if you don't have the wxWindows installed.
# DIRS += osgWX
DIRS += Demos
DIRS += osgPlugins