summaryrefslogtreecommitdiff
path: root/net/nagios-plugin-snmp/patches/patch-lib_utils_base.c
blob: 53f9713ee43c9597c9fe5c3bd506929394788aab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$NetBSD: patch-lib_utils_base.c,v 1.1 2012/05/24 15:29:43 marino Exp $

--- lib/utils_base.c.orig	2010-07-27 20:47:16.000000000 +0000
+++ lib/utils_base.c
@@ -28,6 +28,9 @@
 #include <stdarg.h>
 #include "utils_base.h"
 #include <fcntl.h>
+#ifdef __DragonFly__
+#include <sys/stat.h>
+#endif
 
 #define np_free(ptr) { if(ptr) { free(ptr); ptr = NULL; } }