diff options
Diffstat (limited to 'ax25/mheardd.c')
-rw-r--r-- | ax25/mheardd.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/ax25/mheardd.c b/ax25/mheardd.c index 2d98fad..a2b3b21 100644 --- a/ax25/mheardd.c +++ b/ax25/mheardd.c @@ -8,6 +8,8 @@ #include <errno.h> #include <fcntl.h> +#include <config.h> + #include <sys/types.h> #include <sys/ioctl.h> #include <sys/param.h> @@ -17,16 +19,22 @@ #include <net/ethernet.h> #include <netinet/in.h> +#ifdef HAVE_NETAX25_AX25_H #include <netax25/ax25.h> +#else +#include <netax25/kernel_ax25.h> +#endif +#ifdef HAVE_NETROSE_ROSE_H #include <netrose/rose.h> +#else +#include <netax25/kernel_rose.h> +#endif #include <netax25/axlib.h> #include <netax25/axconfig.h> #include <netax25/daemon.h> #include <netax25/mheard.h> -#include <config.h> - #include "../pathnames.h" #define KISS_MASK 0x0F |