now std c99 compliant

master
Alessandro Mauri 5 years ago
parent b872a01822
commit 66bb230bac
  1. 1
      bmon.c
  2. 2
      makefile

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

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

Loading…
Cancel
Save