File:  [cvs.NetBSD.org] / pkgsrc / security / zoneminder / patches / patch-src_zm_remote_camera_h
Revision 1.3: download - view: text, annotated - select for diffs
Mon Apr 29 21:31:13 2013 UTC (11 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, HEAD
Add a number of includes hidden by libstdc++'s name space pollution.

$NetBSD: patch-src_zm_remote_camera_h,v 1.3 2013/04/29 21:31:13 joerg Exp $

Declare sockaddr_in.

--- src/zm_remote_camera.h.orig	2009-06-02 07:59:26.000000000 +0000
+++ src/zm_remote_camera.h
@@ -22,8 +22,11 @@
 
 #include "zm_camera.h"
 
+#include <netinet/in.h>
+
 #include <string>
 #include <netdb.h>
+#include <time.h>
 
 //
 // Class representing 'remote' cameras, i.e. those which are

CVSweb <webmaster@jp.NetBSD.org>