commit | b4752d0673c98440c4812ac7a3229bc0bebdab07 | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Aug 10 08:00:33 2009 +0200 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Aug 10 08:26:13 2009 +0200 |
tree | 3459c913a6383e1cb343fe97688e1b22059523a3 | |
parent | a8908d4f9beda8203c66d85bf784bfb7113f306b [diff] [blame] |
misdn.c: Fix warning about redefining AF_ISDN.. We use the same construct in e1_inpit.c, use it here too.
diff --git a/openbsc/src/input/misdn.c b/openbsc/src/input/misdn.c index bd655d1..82268e8 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>