aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/server/tftpd.c2
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 */