aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/src/input
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 08:00:33 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2009-08-10 08:26:13 +0200
commit4e2973d2d3d5b86163b40d6df86b5e18a13a89de (patch)
tree3459c913a6383e1cb343fe97688e1b22059523a3 /openbsc/src/input
parente4042c72d76fdaac2249b5de542e0cb2857dd68a (diff)
misdn.c: Fix warning about redefining AF_ISDN..
We use the same construct in e1_inpit.c, use it here too.
Diffstat (limited to 'openbsc/src/input')
-rw-r--r--openbsc/src/input/misdn.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/openbsc/src/input/misdn.c b/openbsc/src/input/misdn.c
index bd655d12e..82268e811 100644
--- a/openbsc/src/input/misdn.c
+++ b/openbsc/src/input/misdn.c
@@ -36,8 +36,10 @@
//#define AF_COMPATIBILITY_FUNC
//#include <compat_af_isdn.h>
+#ifndef AF_ISDN
#define AF_ISDN 34
#define PF_ISDN AF_ISDN
+#endif
#include <openbsc/select.h>
#include <openbsc/msgb.h>