srogue: provide type definitions if needed.
If not defined in headers, uid_t and gid_t will be defined as unsigned ints, and pid_t as int.
This commit is contained in:
parent
3b34109c93
commit
268b30f851
3 changed files with 12 additions and 2 deletions
|
|
@ -172,7 +172,7 @@ char **envp;
|
|||
/* START NEW GAME */
|
||||
|
||||
dnum = (wizard && getenv("SEED") != NULL ?
|
||||
atoi(getenv("SEED")) : lowtime + getpid());
|
||||
atoi(getenv("SEED")) : lowtime + md_getpid());
|
||||
|
||||
if(wizard)
|
||||
printf("Hello %s, welcome to dungeon #%d\n", whoami, dnum);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue