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
commit35ed8f32edda9e23741fdb6a9fd0c7ebb7ee8b11 (patch)
tree9b583d85f61f12991bef8125cc090e9dc690793f
parent6e52a80f23941c16466b8803535415ed1f5c68ab (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/mjlib/; revision=12846
-rw-r--r--n2m.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/n2m.c b/n2m.c
index 9379c9f..cb67f93 100644
--- a/n2m.c
+++ b/n2m.c
@@ -1,11 +1,12 @@
-#ifdef NT
+#ifdef _WIN32
#include "stdafx.h"
#include <io.h>
-#include<stdio.h>
#endif
#include "m_pd.h"
#include <stdlib.h>
#include<time.h>
+#include <string.h>
+#include <stdio.h>
#include "n2m.h"
char* notes_up[12] = {"C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"};