openbsd-ports/sysutils/nut/patches/patch-tools_nut-scanner_nutscan-ip_h
sthen 0eee9917de update to NUT 2.6.3.
- nut-scanner has been changed to dlopen()ing modules, so roll it into the
main package now this can be done without bringing in excess dependencies.
2012-01-11 16:01:33 +00:00

15 lines
399 B
Plaintext

$OpenBSD: patch-tools_nut-scanner_nutscan-ip_h,v 1.2 2012/01/11 16:01:33 sthen Exp $
--- tools/nut-scanner/nutscan-ip.h.orig Tue Oct 4 08:06:25 2011
+++ tools/nut-scanner/nutscan-ip.h Wed Jan 11 15:34:33 2012
@@ -19,8 +19,9 @@
#ifndef SCAN_IP
#define SCAN_IP
-#include <arpa/inet.h>
+#include <sys/types.h>
#include <netinet/in.h>
+#include <arpa/inet.h>
enum network_type {
IPv4,