summaryrefslogtreecommitdiff
blob: 386cf7b1e21045d2d4d5d7ec4ac87a61a5fc0957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- linksys-tftp-1.2.1/main.c
+++ linksys-tftp-1.2.1/main.c
@@ -40,6 +40,8 @@
 #include <setjmp.h>
 #include <ctype.h>
 #include <netdb.h>
+#include <stdlib.h>
+#include <strings.h>
 
 #define	TIMEOUT		5		/* secs between rexmt's */
 
@@ -110,7 +112,7 @@
 char	*index();
 char	*rindex();
 
-main(argc, argv)
+int main(argc, argv)
 	char *argv[];
 {
 	struct sockaddr_in sin;