now std c99 compliant

This commit is contained in:
Alessandro Mauri 2020-05-27 14:40:45 +02:00
parent b872a01822
commit 66bb230bac
2 changed files with 2 additions and 1 deletions

1
bmon.c
View File

@ -1,3 +1,4 @@
#define _POSIX_C_SOURCE 200809L
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>

View File

@ -1,5 +1,5 @@
CC = gcc
CFLAGS = -Wall -pedantic -O2
CFLAGS = -Wall -pedantic --std=c99 -O2
bmon: bmon.o