1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/net/omcmd/files/patch-omfuncs.c
Martin Wilke 65c6806a90 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
2011-01-29 14:22:55 +00:00

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>