mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
65c6806a90
running ISC DHCP server, such as adding a host entry or querying a lease. Unlike omshell, it is designed to be readily usable by shell scripts; it has simple one-shot commands and returns error codes. WWW: http://freshmeat.net/projects/omcmd PR: ports/148398 Submitted by: Pavel Volkov Feature safe: yes
12 lines
301 B
C
12 lines
301 B
C
--- omfuncs.c.orig 2010-07-05 14:29:11.000000000 +0400
|
|
+++ omfuncs.c 2010-07-05 14:30:01.000000000 +0400
|
|
@@ -6,6 +6,8 @@
|
|
#include <time.h>
|
|
#include <string.h>
|
|
#include <stdarg.h>
|
|
+#include <sys/types.h>
|
|
+#include <sys/socket.h>
|
|
#include <arpa/inet.h>
|
|
#include <netinet/in.h>
|
|
#include <stdlib.h>
|