aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-26 03:15:53 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2012-09-26 03:15:53 +0000
commit47beba426a9280fc443ccf68a0debbd4a8b95c2a (patch)
tree30005ca1f896ad482d943b7c0340ecf761c84e5f
parent633d3b00fdb77146d207a3f7ef1d396596f280d0 (diff)
fix "implicit declaration of function" warning by including correct headers
svn path=/trunk/externals/ext13/; revision=16296
-rw-r--r--openpatch.c1
-rw-r--r--scramble~.c3
2 files changed, 2 insertions, 2 deletions
diff --git a/openpatch.c b/openpatch.c
index 915a379..86b7b7d 100644
--- a/openpatch.c
+++ b/openpatch.c
@@ -1,5 +1,6 @@
#include "ext13.h"
#include "m_pd.h"
+#include "m_imp.h"
/*
#ifndef PD_MAJOR_VERSION
#include "s_stuff.h"
diff --git a/scramble~.c b/scramble~.c
index 082fb75..ad9e0bf 100644
--- a/scramble~.c
+++ b/scramble~.c
@@ -3,13 +3,12 @@
#include <sys/types.h>
#include <string.h>
#include <math.h>
+#include <stdlib.h>
#ifndef _WIN32
#include <netinet/in.h>
#include <netdb.h>
#include <sys/errno.h>
#include <sys/socket.h>
-#else
-#include <stdlib.h>
#endif
/* ------------------------ scramble_tilde~ ----------------------------- */