$OpenBSD: patch-res_res_agi_c,v 1.1.1.1 2004/09/26 00:38:24 jolan Exp $
--- res/res_agi.c.orig	Wed Sep 22 10:21:36 2004
+++ res/res_agi.c	Thu Sep 23 13:33:13 2004
@@ -12,6 +12,7 @@
  */
 
 #include <sys/types.h>
+#include <sys/socket.h>
 #include <asterisk/file.h>
 #include <asterisk/logger.h>
 #include <asterisk/channel.h>
