This commit is contained in:
Devaev Maxim
2018-09-23 02:22:18 +03:00
parent ec470480e6
commit 4256a0579e
2 changed files with 5 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ PREFIX ?= /usr/local
LIBS = -lm -ljpeg -pthread -levent -levent_pthreads LIBS = -lm -ljpeg -pthread -levent -levent_pthreads
CC = gcc CC = gcc
CFLAGS = -c -O3 -Wall -Wextra CFLAGS = -c -std=c99 -O3 -Wall -Wextra -D_GNU_SOURCE
LDFLAGS = LDFLAGS =
SOURCES = $(shell ls src/*.c) SOURCES = $(shell ls src/*.c)
OBJECTS = $(SOURCES:.c=.o) OBJECTS = $(SOURCES:.c=.o)

View File

@@ -24,12 +24,16 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h>
#include <errno.h> #include <errno.h>
#include <time.h> #include <time.h>
#include <assert.h> #include <assert.h>
#include <pthread.h> #include <pthread.h>
#include <sys/types.h>
#include <sys/syscall.h>
#include "tools.h" #include "tools.h"