Two fixes for the bxhub utility.

- Makefile: added missing dependency.
- netutil.cc: removed duplicate include.
This commit is contained in:
Volker Ruppert 2020-05-23 09:04:35 +00:00
parent ba5a279d61
commit d69c7d14dc
2 changed files with 1 additions and 2 deletions

View File

@ -282,7 +282,7 @@ misc/vbox.o: $(srcdir)/iodev/hdimage/vbox.cc $(srcdir)/iodev/hdimage/vbox.h \
$(CXX) @DASH@c $(BX_INCDIRS) @BXIMAGE_FLAG@ $(CXXFLAGS_CONSOLE) $(srcdir)/iodev/hdimage/vbox.cc @OFP@$@ $(CXX) @DASH@c $(BX_INCDIRS) @BXIMAGE_FLAG@ $(CXXFLAGS_CONSOLE) $(srcdir)/iodev/hdimage/vbox.cc @OFP@$@
misc/bxhub.o: $(srcdir)/misc/bxhub.cc $(srcdir)/iodev/network/netmod.h \ misc/bxhub.o: $(srcdir)/misc/bxhub.cc $(srcdir)/iodev/network/netmod.h \
$(srcdir)/misc/bxcompat.h $(srcdir)/iodev/network/netutil.h $(srcdir)/misc/bxcompat.h
$(CC) @DASH@c $(BX_INCDIRS) $(CXXFLAGS_CONSOLE) $(srcdir)/misc/bxhub.cc @OFP@$@ $(CC) @DASH@c $(BX_INCDIRS) $(CXXFLAGS_CONSOLE) $(srcdir)/misc/bxhub.cc @OFP@$@
misc/netutil.o: $(srcdir)/iodev/network/netutil.cc $(srcdir)/iodev/network/netutil.h \ misc/netutil.o: $(srcdir)/iodev/network/netutil.cc $(srcdir)/iodev/network/netutil.h \

View File

@ -78,7 +78,6 @@ Bit16u ip_checksum(const Bit8u *buf, unsigned buf_len)
#ifdef BXHUB #ifdef BXHUB
#include <stdarg.h> #include <stdarg.h>
#include "misc/bxcompat.h"
#include "osdep.h" #include "osdep.h"
#else #else
#define LOG_THIS netdev-> #define LOG_THIS netdev->