mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-20 11:43:52 +00:00
fix build on FreeBSD (issue #5003)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -9,6 +9,8 @@
|
|||||||
*
|
*
|
||||||
* This program is free software, distributed under the terms of
|
* This program is free software, distributed under the terms of
|
||||||
* the GNU General Public License
|
* the GNU General Public License
|
||||||
|
*
|
||||||
|
* $Revision$
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@@ -18,6 +20,9 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
|
#if defined(__FreeBSD__)
|
||||||
|
#include <netinet/in.h>
|
||||||
|
#endif
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user