]> granicus.if.org Git - curl/commitdiff
PKTSIZE might have been already defined in arpa/tftp.h
authorYang Tse <yangsita@gmail.com>
Sat, 23 Jan 2010 13:51:53 +0000 (13:51 +0000)
committerYang Tse <yangsita@gmail.com>
Sat, 23 Jan 2010 13:51:53 +0000 (13:51 +0000)
tests/server/tftpd.c

index e88083e593c43f6adcc94b792664de4cb6426c4c..cf09792545361a12f4f785828d1a954ef9de51fd 100644 (file)
 *                      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 */