aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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>