#ifdef the include too.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9963 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
BJ Weschke
2006-02-14 18:49:37 +00:00
parent 0edfb0eb39
commit 6255f76212

View File

@@ -74,9 +74,12 @@
#include <grp.h>
#include <pwd.h>
#include <sys/stat.h>
#include <sys/prctl.h>
#include <regex.h>
#ifdef linux
#include <sys/prctl.h>
#endif
#if defined(__FreeBSD__) || defined( __NetBSD__ ) || defined(SOLARIS)
#include <netdb.h>
#endif