Fix for QNX-specific build bustage. QNX doesn't provide a prototype for random().

git-svn-id: svn://10.0.0.236/trunk@55013 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
briano%netscape.com 1999-12-02 03:35:52 +00:00
parent cbd2a79d4f
commit b5f11bcccb

View File

@ -99,6 +99,10 @@ XP_END_PROTOS
#ifndef __QNX__
#include <memory.h>
#else
XP_BEGIN_PROTOS
extern long random(void); /* QNX doesn't provide a prototype, so do this until they fix it. */
XP_END_PROTOS
#endif
#define XP_STRDUP(s) strdup((s))