XFce 4 Netload plugin
Benedikt Meurer
Benedikt.Meurer at unix-ag.uni-siegen.de
Tue Aug 12 18:24:49 CEST 2003
On Tue, 12, Aug 2003, Michelle wrote:
> eep maybe i should have stressed further how much of a dirty hack that
> was. its makes the plugin work on freebsd with that portion but thats
> all my friend fixed. That particular include is absolutely necessary for
> it to work on freebsd.
> Just put something like
> #if defined(__FreeBSD__)
> ...
> #endif
> around the #include <net/something>'s
Doing an autoconf check for that file looks better to me, since
FreeBSD might not be the only system to depend on that file being
included. Autoconf provides a generic way for such things, and we
should make use of it wherever it makes sense.
Benedikt
--
NetBSD Operating system: http://www.NetBSD.org/
pkgsrc "Work in progress": http://pkgsrc-wip.sf.net/
XFce desktop environment: http://www.xfce.org/
German Unix-AG Association: http://www.unix-ag.org/
More information about the Xfce4-dev
mailing list