$NetBSD: patch-ab,v 1.4 2007/01/02 18:32:47 adam Exp $

--- camlibs/ptp2/config.c.orig	2007-01-02 17:01:25.000000000 +0100
+++ camlibs/ptp2/config.c
@@ -23,6 +23,7 @@
 #include <string.h>
 #include <stdio.h>
 #include <time.h>
+#include <netinet/in.h>
 
 #include <gphoto2/gphoto2-library.h>
 #include <gphoto2/gphoto2-port-log.h>
