From fb56a9cb2b0179b5b40e605fbbfead1f6df7d0f3 Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Tue, 16 Nov 2010 17:41:46 -0500 Subject: [PATCH] Make sure to #include when using offsetof(). --- ndhc/clientpacket.c | 1 + ndhc/packet.c | 1 + 2 files changed, 2 insertions(+) diff --git a/ndhc/clientpacket.c b/ndhc/clientpacket.c index 5e9a64b..adcb25c 100644 --- a/ndhc/clientpacket.c +++ b/ndhc/clientpacket.c @@ -20,6 +20,7 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include #include #include #include diff --git a/ndhc/packet.c b/ndhc/packet.c index ed6ff3a..09185a9 100644 --- a/ndhc/packet.c +++ b/ndhc/packet.c @@ -1,3 +1,4 @@ +#include #include #include #include