[Asterisk-bsd] Error messages

Olle E. Johansson asterisk-bsd@lists.digium.com
Fri, 16 Jul 2004 22:15:22 +0200


Still on FreeBSD 4.9, getting a lot of error messages. This patch helped...
Anyone that can confirm this?

/O

Index: include/asterisk/utils.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/utils.h,v
retrieving revision 1.6
diff -u -r1.6 utils.h
--- include/asterisk/utils.h    29 Jun 2004 17:54:25 -0000      1.6
+++ include/asterisk/utils.h    16 Jul 2004 18:06:21 -0000
@@ -12,6 +12,10 @@
  #ifndef _ASTERISK_UTIL_H
  #define _ASTERISK_UTIL_H

+#ifndef _ARPA_INET_H_
+#include <arpa/inet.h>
+#endif
+
  #include <netdb.h>

  static inline int ast_strlen_zero(const char *s)