Debian kfreebsd patch

Dominique Dumont <[email protected]>
Newsgroups gmane.comp.sysutils.lcdproc
Message-ID <[email protected]>
Hello

Here's another patch from Cyril Brulebois to enable compiling lcdproc on 
Debian with BSD kernel.

All the best

--
http://config-model.wiki.sourceforge.net/ -o- http://search.cpan.org/~ddumont/
http://www.ohloh.net/accounts/ddumont     -o- http://ddumont.wordpress.com/

_______________________________________________
LCDproc mailing list
[email protected]
http://lists.omnipotent.net/mailman/listinfo/lcdproc
lcdproc-0.5.3-debian-build-kfreebsd.diff (text/x-patch, 406 B)
Description: Build for Debian GNU/kFreeBSD
From: Cyril Brulebois <[email protected]>
Bug-Debian: http://bugs.debian.org/416261

--- a/clients/lcdproc/machine_Linux.c
+++ b/clients/lcdproc/machine_Linux.c
@@ -9,7 +9,7 @@
  * Refer to the COPYING file distributed with this package.
  */
 
-#ifdef linux
+#if defined(linux) || defined(__GLIBC__)
 
 #include <sys/types.h>
 #include <stdlib.h>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.