diff options
author | David Troy <dave@popvox.com> | 2006-04-15 13:45:07 +0000 |
---|---|---|
committer | David Troy <dave@popvox.com> | 2006-04-15 13:45:07 +0000 |
commit | b16db019573b76082f3d08d5c07bdd288bf6530f (patch) | |
tree | 69bf73e7af901a5be7a16b3d77dc6d32aae25a19 | |
parent | c2eac3e6c05372725d2d25023fbfe2da25680d51 (diff) | |
download | astmanproxy-b16db019573b76082f3d08d5c07bdd288bf6530f.tar.gz astmanproxy-b16db019573b76082f3d08d5c07bdd288bf6530f.tar.xz astmanproxy-b16db019573b76082f3d08d5c07bdd288bf6530f.zip |
git-svn-id: http://svncommunity.digium.com/svn/astmanproxy/branches/1.21pre@121 f02b47b9-160a-0410-81a6-dc3441afb0ec
-rw-r--r-- | src/astmanproxy.c | 2 | ||||
-rw-r--r-- | src/include/astmanproxy.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/src/astmanproxy.c b/src/astmanproxy.c index 1c07c66..5a865ff 100644 --- a/src/astmanproxy.c +++ b/src/astmanproxy.c @@ -511,7 +511,7 @@ static void *accept_thread() { int as; struct sockaddr_in sin; - int sinlen; + socklen_t sinlen; struct mansession *s; struct protoent *p; int arg = 1; diff --git a/src/include/astmanproxy.h b/src/include/astmanproxy.h index dc7ac87..9d8ed89 100644 --- a/src/include/astmanproxy.h +++ b/src/include/astmanproxy.h @@ -17,11 +17,10 @@ #include <stdarg.h> #include <dirent.h> #include <errno.h> +#include <dlfcn.h> #ifdef __APPLE__ - #include "dlfcn-compat.h" #include "poll-compat.h" #else - #include <dlfcn.h> #include <sys/poll.h> #endif |