diff options
author | Yang Tse <yangsita@gmail.com> | 2010-01-23 13:51:53 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-01-23 13:51:53 +0000 |
commit | 703fa98a487948dd8746c4a82b7d657042426134 (patch) | |
tree | 7518712b4851c16bec5b67533b8627cb421d2e4c | |
parent | ec4647c0f9c74c9994c410d63a6c667001aa7fa3 (diff) |
PKTSIZE might have been already defined in arpa/tftp.h
-rw-r--r-- | tests/server/tftpd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/server/tftpd.c b/tests/server/tftpd.c index e88083e59..cf0979254 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 */ |