Make it compile on Linux again

This commit is contained in:
Joseph C. Lehner 2016-02-07 21:05:46 +01:00
parent 5e37406b6d
commit ba285c462a
2 changed files with 2 additions and 1 deletions

View file

@ -14,7 +14,7 @@ nmrp.o: nmrp.c nmrpd.h
tftp.o: tftp.c nmrpd.h tftp.o: tftp.c nmrpd.h
$(CC) $(CFLAGS) -c -o tftp.o tftp.c $(CC) $(CFLAGS) -c -o tftp.o tftp.c
ethsock.o: ethsock.c ethsock.h ethsock.o: ethsock.c nmrpd.h
$(CC) $(CFLAGS) -c -o ethsock.o ethsock.c $(CC) $(CFLAGS) -c -o ethsock.o ethsock.c
main.o: main.c nmrpd.h main.o: main.c nmrpd.h

1
main.c
View file

@ -17,6 +17,7 @@
* *
*/ */
#include <unistd.h>
#include <getopt.h> #include <getopt.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>