From: Yang Tse Date: Sat, 23 Jan 2010 13:51:53 +0000 (+0000) Subject: PKTSIZE might have been already defined in arpa/tftp.h X-Git-Tag: curl-7_20_0~85 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=703fa98a487948dd8746c4a82b7d657042426134;p=thirdparty%2Fcurl.git PKTSIZE might have been already defined in arpa/tftp.h --- diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c index e88083e593..cf09792545 100644 --- a/tests/server/tftpd.c +++ b/tests/server/tftpd.c @@ -103,7 +103,9 @@ * STRUCT DECLARATIONS AND DEFINES * *****************************************************************************/ +#ifndef PKTSIZE #define PKTSIZE (SEGSIZE + 4) /* SEGSIZE defined in arpa/tftp.h */ +#endif struct testcase { char *buffer; /* holds the file data to send to the client */