gcc: fix warnings (#156)

This commit is contained in:
Randy
2020-08-04 18:57:10 +02:00
committed by GitHub
parent 7976ac78f2
commit a9b06e4b35
3 changed files with 15 additions and 9 deletions

View File

@@ -16,6 +16,10 @@
# define _CRT_SECURE_NO_WARNINGS /* for windows */
#endif
#ifndef _GNU_SOURCE
# define _GNU_SOURCE /* for drand48() */
#endif
#include <stdlib.h>
#include <stdio.h>
#include <string.h>