Make it compile on Linux again
This commit is contained in:
parent
5e37406b6d
commit
ba285c462a
2 changed files with 2 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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
1
main.c
|
@ -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>
|
||||||
|
|
Loading…
Add table
Reference in a new issue