Getting plugins/sdl to compile under FreeBSD
Scott Lambert
lambert at lambertfam.org
Tue Jul 10 17:47:46 CEST 2001
The syntax errors found in <netinet/in.h> are caused by not including
<sys/types.h> first.
So to fix, change:
#ifndef WIN32
#include <netinet/in.h> /* BSD: struct in_addr */
#endif
To:
#ifndef WIN32
#include <sys/types.h>
#include <netinet/in.h> /* BSD: struct in_addr */
#endif
Thanks to a post on FreeBSD-STABLE at FreeBSD.org:
Date: Tue, 10 Jul 2001 11:15:03 -0400
From: Chris Faulhaber <jedgar at fxp.org>
To: Konstantinos Konstantinidis <kkonstan at duth.gr>
Cc: "Robin P. Blanchard" <Robin_Blanchard at gactr.uga.edu>,
stable at freebsd.org
Subject: Re: system includes...
Message-ID: <20010710111503.D8054 at peitho.fxp.org>
References: <3B4B01B0.C0FAD7BC at gactr.uga.edu> <3B4B15A1.2355700C at duth.gr>
--
Scott Lambert Unix SysAdmin -- Looking for work.
lambert at lambertfam.org http://www.lambertfam.org/~lambert/resume.html
Two and a half years Sr. SysAdmin experience with FreeBSD in a small,
15,000 dial-up accounts, 19,000+ e-mail accounts, ISP.
The last 5 months have included exposure to Solaris 7, True64 5, and Linux.
More information about the vlc
mailing list