aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-12-27 03:51:38 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2009-12-27 03:51:38 +0000
commit6fb4dc5a731f0773f0024c79823e875db4d4a577 (patch)
tree2f39c037aab854f3a4320fb0429e5a55181cf1e6
parent88dbfc24e6cce0bdc8e46b204f8855d2c34aef97 (diff)
following up on bug report #2921689, fixed a bunch of 'implicit declaration of function' warnings, which could cause problems on 64-bit
svn path=/trunk/externals/ext13/; revision=12846
-rw-r--r--scramble~.c1
-rw-r--r--streamin13~.c1
-rw-r--r--streamout13~.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/scramble~.c b/scramble~.c
index a741494..082fb75 100644
--- a/scramble~.c
+++ b/scramble~.c
@@ -2,6 +2,7 @@
#include "ext13.h"
#include <sys/types.h>
#include <string.h>
+#include <math.h>
#ifndef _WIN32
#include <netinet/in.h>
#include <netdb.h>
diff --git a/streamin13~.c b/streamin13~.c
index 3eaac24..42656b4 100644
--- a/streamin13~.c
+++ b/streamin13~.c
@@ -14,6 +14,7 @@
#include <netdb.h>
#include <sys/time.h>
#include <unistd.h>
+#include <stdlib.h>
#define SOCKET_ERROR -1
#endif
diff --git a/streamout13~.c b/streamout13~.c
index 915cc61..b2762f0 100644
--- a/streamout13~.c
+++ b/streamout13~.c
@@ -10,6 +10,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
+#include <unistd.h>
#define SOCKET_ERROR -1
#endif