All compile errors on Mac fixed.

This commit is contained in:
Christoph Oelckers 2018-02-22 13:50:41 +01:00
parent 2c138d703d
commit 504d68e2f8
3 changed files with 8 additions and 6 deletions

View file

@ -40,7 +40,6 @@
#include <signal.h>
#include <unistd.h>
#include "mus2midi.h"
extern void ChildSigHandler (int signum);
#endif
#include <ctype.h>
@ -159,9 +158,6 @@ void I_InitMusic (void)
setatterm = true;
atterm (I_ShutdownMusicExit);
#ifndef _WIN32
signal (SIGCHLD, ChildSigHandler);
#endif
}
MusicDown = false;
}

View file

@ -37,6 +37,10 @@
#include <stdio.h>
#include "i_soundfont.h"
#include "cmdlib.h"
#include "w_wad.h"
#include "i_system.h"
#include "gameconfigfile.h"
#include "resourcefiles/resourcefile.h"
//==========================================================================

View file

@ -285,6 +285,9 @@ Appendix :
w[] and ip[] are compatible with all routines.
*/
#include <math.h>
namespace TimidityPlus
{
void makewt(int nw, int *ip, float *w);
@ -656,7 +659,6 @@ void dfst(int n, float *a, float *t, int *ip, float *w)
/* -------- initializing routines -------- */
#include <math.h>
void makewt(int nw, int *ip, float *w)
{