From f3a9360625bca4fb0b5fe9730d6e25431ac4704b Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 9 Jul 2000 06:39:19 +0000 Subject: Add in a bunch of junk. Busybox now compiles (except for mkfs.minix and fsck.minix). Of course, it doesn't link yet due to missing functions, but hey... At least it is now easy to see what isn't working. :-) -Erik --- include/arpa/tftp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/arpa/tftp.h') diff --git a/include/arpa/tftp.h b/include/arpa/tftp.h index 0904407c7..69187da08 100644 --- a/include/arpa/tftp.h +++ b/include/arpa/tftp.h @@ -56,9 +56,9 @@ struct tftphdr { unsigned short tu_block; /* block # */ short tu_code; /* error code */ char tu_stuff[1]; /* request packet stuff */ - } th_u; + } __attribute__ ((__packed__)) th_u; char th_data[1]; /* data or error string */ -}; +} __attribute__ ((__packed__)); #define th_block th_u.tu_block #define th_code th_u.tu_code -- cgit v1.2.3