summaryrefslogtreecommitdiff
path: root/common.h
diff options
context:
space:
mode:
authorschmirl <schmirl>2008-03-12 09:36:27 +0000
committerschmirl <schmirl>2008-03-12 09:36:27 +0000
commitefeac825cc071e01b203eda2af3a28f5020c9f3e (patch)
tree92251011ed05aae57f51d299603c9872ef60620c /common.h
parenteb6fbd3bbea50c4ecf345f41ee87fd51bbcde113 (diff)
downloadvdr-plugin-streamdev-efeac825cc071e01b203eda2af3a28f5020c9f3e.tar.gz
vdr-plugin-streamdev-efeac825cc071e01b203eda2af3a28f5020c9f3e.tar.bz2
FreeBSD compatibility (#435)
Modified Files: Makefile common.h libdvbmpeg/ctools.c server/connectionVTP.c tools/socket.c
Diffstat (limited to 'common.h')
-rw-r--r--common.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/common.h b/common.h
index 1d14883..2565604 100644
--- a/common.h
+++ b/common.h
@@ -1,10 +1,16 @@
/*
- * $Id: common.h,v 1.8 2007/04/24 10:50:13 schmirl Exp $
+ * $Id: common.h,v 1.9 2008/03/12 09:36:27 schmirl Exp $
*/
#ifndef VDR_STREAMDEV_COMMON_H
#define VDR_STREAMDEV_COMMON_H
+/* FreeBSD has it's own version of isnumber(),
+ but VDR's version is incompatible */
+#ifdef __FreeBSD__
+#undef isnumber
+#endif
+
#include <vdr/tools.h>
#include <vdr/plugin.h>