Fix compilation warnings

This commit is contained in:
Dmitry Stogov 2022-06-07 14:43:35 +03:00
parent 03bb1d1c4d
commit 3212cd5bd2
2 changed files with 7 additions and 2 deletions

5
ir.c
View File

@ -1,4 +1,7 @@
#define _GNU_SOURCE
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#include <sys/mman.h>
#include "ir.h"

View File

@ -1,4 +1,6 @@
#define _GNU_SOURCE
#ifndef _GNU_SOURCE
# define _GNU_SOURCE
#endif
#include <stdlib.h>
#include "ir.h"