Include sys/socket.h in res/res_agi.c (bug 2490)
[asterisk/asterisk.git] / res / res_agi.c
index eb97bcb..2a58a5b 100755 (executable)
@@ -29,6 +29,7 @@
 #include <stdio.h>
 #include <fcntl.h>
 #include <errno.h>
+#include <sys/socket.h>
 #include <asterisk/cli.h>
 #include <asterisk/logger.h>
 #include <asterisk/options.h>