diff options
Diffstat (limited to 'netrom')
-rw-r--r-- | netrom/Makefile.in | 5 | ||||
-rw-r--r-- | netrom/netromd.c | 6 | ||||
-rw-r--r-- | netrom/netromr.c | 5 |
3 files changed, 12 insertions, 4 deletions
diff --git a/netrom/Makefile.in b/netrom/Makefile.in index e909d4e..4dc6975 100644 --- a/netrom/Makefile.in +++ b/netrom/Makefile.in @@ -61,6 +61,7 @@ AWK = @AWK@ AX25IO_LIB = @AX25IO_LIB@ AX25_LIB = @AX25_LIB@ CC = @CC@ +DMASCC = @DMASCC@ MAKEINFO = @MAKEINFO@ NCURSES_LIB = @NCURSES_LIB@ PACKAGE = @PACKAGE@ @@ -97,10 +98,6 @@ DEFS = @DEFS@ -I. -I$(srcdir) -I.. CPPFLAGS = @CPPFLAGS@ LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ -X_CFLAGS = @X_CFLAGS@ -X_LIBS = @X_LIBS@ -X_EXTRA_LIBS = @X_EXTRA_LIBS@ -X_PRE_LIBS = @X_PRE_LIBS@ netromd_OBJECTS = netromd.o netromr.o netromt.o netromd_LDADD = $(LDADD) netromd_DEPENDENCIES = diff --git a/netrom/netromd.c b/netrom/netromd.c index 15fc0e4..dec779d 100644 --- a/netrom/netromd.c +++ b/netrom/netromd.c @@ -15,7 +15,13 @@ #include <netinet/in.h> #include <net/if.h> + +#ifdef __GLIBC__ #include <net/ethernet.h> +#else +#include <linux/if_ether.h> +#endif + #ifdef HAVE_NETAX25_AX25_H #include <netax25/ax25.h> #else diff --git a/netrom/netromr.c b/netrom/netromr.c index 3ba7c33..5b99acc 100644 --- a/netrom/netromr.c +++ b/netrom/netromr.c @@ -13,7 +13,12 @@ #include <sys/socket.h> #include <netinet/in.h> #include <net/if.h> + +#ifdef __GLIBC__ #include <net/ethernet.h> +#else +#include <linux/if_ether.h> +#endif #ifdef HAVE_NETAX25_AX25_H #include <netax25/ax25.h> |