forked from valve/halflife-sdk
server: include correct stdlib headers for standard functions
This commit is contained in:
parent
15b17af683
commit
98ce99e822
6 changed files with 7 additions and 2 deletions
|
@ -23,6 +23,7 @@
|
|||
|
||||
*/
|
||||
|
||||
#include <ctype.h> // isprint, isspace
|
||||
#include "extdll.h"
|
||||
#include "util.h"
|
||||
#include "cbase.h"
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
//
|
||||
// multiplay_gamerules.cpp
|
||||
//
|
||||
#include <ctype.h> // isspace, isalnum
|
||||
#include "extdll.h"
|
||||
#include "util.h"
|
||||
#include "cbase.h"
|
||||
|
@ -1935,4 +1936,4 @@ void CHalfLifeMultiplay::SetLaserBeam( int entindex, BOOL value )
|
|||
|
||||
void CHalfLifeMultiplay::SendLaserInfo()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -319,4 +319,4 @@ void CMortar::ShootTimed( EVARS *pevOwner, Vector vecStart, float time )
|
|||
|
||||
UTIL_SetOrigin( pMortar->pev, tr.vecEndPos );
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -42,6 +42,7 @@ LINK_ENTITY_TO_CLASS( info_node, CNodeEnt );
|
|||
LINK_ENTITY_TO_CLASS( info_node_air, CNodeEnt );
|
||||
#ifdef __linux__
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
#define CreateDirectory(p, n) mkdir(p, 0777)
|
||||
#endif
|
||||
//=========================================================
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
// sound.cpp
|
||||
//=========================================================
|
||||
|
||||
#include <ctype.h> // isalpha, isdigit, isspace...
|
||||
#include "extdll.h"
|
||||
#include "util.h"
|
||||
#include "cbase.h"
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#ifndef ENGINECALLBACK_H
|
||||
#include "enginecallback.h"
|
||||
#endif
|
||||
#include <string.h>
|
||||
inline void MESSAGE_BEGIN( int msg_dest, int msg_type, const float *pOrigin, entvars_t *ent ); // implementation later in this file
|
||||
|
||||
extern globalvars_t *gpGlobals;
|
||||
|
|
Loading…
Reference in a new issue