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:
nhmall
2023-12-22 19:24:09 -05:00
parent 48c067a6e9
commit a03a614883
4 changed files with 1 additions and 3 deletions

View File

@@ -54,6 +54,7 @@
#include <stdio.h>
#include <string.h>
#include <signal.h>
#include <assert.h>
#endif /* !__cplusplus */
#endif /* CSTD_H */

View File

@@ -3,7 +3,6 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include <assert.h>
/*
* Mobile light sources.

View File

@@ -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 */

View File

@@ -3,7 +3,6 @@
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include <assert.h>
/* Circles
* ==================================================================*/