diff --git a/src/drivers/net/rtl8139.c b/src/drivers/net/rtl8139.c index c8879602..ff1fa646 100644 --- a/src/drivers/net/rtl8139.c +++ b/src/drivers/net/rtl8139.c @@ -66,11 +66,12 @@ */ +#include +#include #include #include #include #include -#include #include #include #include diff --git a/src/hci/mucurses/slk.c b/src/hci/mucurses/slk.c index ca082288..4422e15a 100644 --- a/src/hci/mucurses/slk.c +++ b/src/hci/mucurses/slk.c @@ -1,6 +1,6 @@ #include #include -#include +#include #include #include #include "mucurses.h" diff --git a/src/hci/mucurses/windows.c b/src/hci/mucurses/windows.c index c1a3a931..63d0af08 100644 --- a/src/hci/mucurses/windows.c +++ b/src/hci/mucurses/windows.c @@ -1,6 +1,6 @@ #include #include -#include +#include #include "mucurses.h" /** @file diff --git a/src/interface/pxe/pxe_preboot.c b/src/interface/pxe/pxe_preboot.c index 894ed436..09fa5fef 100644 --- a/src/interface/pxe/pxe_preboot.c +++ b/src/interface/pxe/pxe_preboot.c @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include #include "pxe.h" diff --git a/src/net/ipv4.c b/src/net/ipv4.c index 8a1e8df3..065bf61c 100644 --- a/src/net/ipv4.c +++ b/src/net/ipv4.c @@ -1,8 +1,8 @@ #include #include +#include #include #include -#include #include #include #include @@ -199,9 +199,7 @@ static void ipv4_frag_expired ( struct retry_timer *timer __unused, * @v fragbug Fragment buffer */ static void free_fragbuf ( struct frag_buffer *fragbuf ) { - if ( fragbuf ) { - free_dma ( fragbuf, sizeof ( *fragbuf ) ); - } + free ( fragbuf ); } /** diff --git a/src/net/ipv6.c b/src/net/ipv6.c index e38e314a..26c43dd0 100644 --- a/src/net/ipv6.c +++ b/src/net/ipv6.c @@ -2,7 +2,6 @@ #include #include #include -#include #include #include #include