include assert.h in cstd.h
Three src files already were including it, and another was about to be added, so include it in include/cstd.h.
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <signal.h>
|
||||
#include <assert.h>
|
||||
|
||||
#endif /* !__cplusplus */
|
||||
#endif /* CSTD_H */
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#include "hack.h"
|
||||
#include <assert.h>
|
||||
|
||||
/*
|
||||
* Mobile light sources.
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#include "hack.h"
|
||||
#include <assert.h>
|
||||
|
||||
/* for UNIX, Rand #def'd to (long)lrand48() or (long)random() */
|
||||
/* croom->lx etc are schar (width <= int), so % arith ensures that */
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
/* NetHack may be freely redistributed. See license for details. */
|
||||
|
||||
#include "hack.h"
|
||||
#include <assert.h>
|
||||
|
||||
/* Circles
|
||||
* ==================================================================*/
|
||||
|
||||
Reference in New Issue
Block a user