included stdlib in common
This commit is contained in:
parent
3e41101c85
commit
9156d850a9
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
//INCLUDES
|
//INCLUDES
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <why2/memory.h>
|
#include <why2/memory.h>
|
||||||
|
@ -44,4 +44,5 @@ int main(void)
|
|||||||
void die(char *exit_msg)
|
void die(char *exit_msg)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "%s\n", exit_msg);
|
fprintf(stderr, "%s\n", exit_msg);
|
||||||
|
exit(0);
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user