slackbuilds_ponce/network/linksys-tftp/linksys-tftp-1.2.1-r1-fno-common.patch

12 lines
231 B
Diff
Raw Normal View History

--- a/tftp.c
+++ b/tftp.c
@@ -50,7 +50,7 @@ extern int segsize;
#define PKTSIZE (1432+4) /* SEGSIZE+4 */
char ackbuf[PKTSIZE];
int timeout;
-jmp_buf toplevel;
+extern jmp_buf toplevel;
jmp_buf timeoutbuf;
#ifndef OACK