From a4cc50373fbe27c973f95628fc142efec14e05cf Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 10 Aug 1999 05:54:53 +0200 Subject: Import ax25-tools 0.0.4 from tarball --- hdlcutil/Makefile.in | 5 +---- hdlcutil/hdrvcomm.c | 6 +++++- hdlcutil/hdrvcomm.h | 2 +- hdlcutil/setcrystal.c | 4 ++++ 4 files changed, 11 insertions(+), 6 deletions(-) (limited to 'hdlcutil') diff --git a/hdlcutil/Makefile.in b/hdlcutil/Makefile.in index 1583b42..555b55b 100644 --- a/hdlcutil/Makefile.in +++ b/hdlcutil/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@ @@ -92,10 +93,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@ setcrystal_OBJECTS = setcrystal.o setcrystal_LDADD = $(LDADD) setcrystal_DEPENDENCIES = diff --git a/hdlcutil/hdrvcomm.c b/hdlcutil/hdrvcomm.c index 55f0f38..05259e5 100644 --- a/hdlcutil/hdrvcomm.c +++ b/hdlcutil/hdrvcomm.c @@ -43,7 +43,11 @@ #include #include #include -/*#include */ +#ifdef __GLIBC__ +#include +#else +#include +#endif #include #include "hdrvcomm.h" #include "usersmdiag.h" diff --git a/hdlcutil/hdrvcomm.h b/hdlcutil/hdrvcomm.h index ec4be73..3167b03 100644 --- a/hdlcutil/hdrvcomm.h +++ b/hdlcutil/hdrvcomm.h @@ -32,7 +32,7 @@ /* ---------------------------------------------------------------------- */ -#undef HDRVC_KERNEL 1 +#define HDRVC_KERNEL 1 //why was undef here ??? /* ---------------------------------------------------------------------- */ diff --git a/hdlcutil/setcrystal.c b/hdlcutil/setcrystal.c index 48ee750..926eddd 100644 --- a/hdlcutil/setcrystal.c +++ b/hdlcutil/setcrystal.c @@ -30,7 +30,11 @@ #include #include #include +#ifdef __GLIBC__ #include +#else +#include +#endif /* --------------------------------------------------------------------- */ -- cgit v1.2.3