included stdlib in common

This commit is contained in:
Václav Šmejkal 2023-02-09 18:16:05 +01:00
parent 3e41101c85
commit 9156d850a9
Signed by: ENGO150
GPG Key ID: 4A57E86482968843
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
//INCLUDES
#include <stdio.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <why2/memory.h>

View File

@ -44,4 +44,5 @@ int main(void)
void die(char *exit_msg)
{
fprintf(stderr, "%s\n", exit_msg);
exit(0);
}