diff options
| author | Martin Wilke <miwi@FreeBSD.org> | 2011-01-29 14:22:55 +0000 |
|---|---|---|
| committer | Martin Wilke <miwi@FreeBSD.org> | 2011-01-29 14:22:55 +0000 |
| commit | 65c6806a90ecad02e414416e918dc01dab3e365c (patch) | |
| tree | ba254a252e8a3bb70cfea11c856abfaa2b865576 /net/omcmd/files/patch-omfuncs.c | |
| parent | - Update to version 1.13 (diff) | |
omcmd is a CLI utility for performing OMAPI queries and updates on a
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
Diffstat (limited to 'net/omcmd/files/patch-omfuncs.c')
| -rw-r--r-- | net/omcmd/files/patch-omfuncs.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/omcmd/files/patch-omfuncs.c b/net/omcmd/files/patch-omfuncs.c new file mode 100644 index 000000000000..d1358cee1633 --- /dev/null +++ b/net/omcmd/files/patch-omfuncs.c @@ -0,0 +1,11 @@ +--- 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> |
