mirror of
https://github.com/pikvm/ustreamer.git
synced 2026-04-22 06:26:13 +00:00
C99
This commit is contained in:
2
Makefile
2
Makefile
@@ -3,7 +3,7 @@ PREFIX ?= /usr/local
|
||||
|
||||
LIBS = -lm -ljpeg -pthread -levent -levent_pthreads
|
||||
CC = gcc
|
||||
CFLAGS = -c -O3 -Wall -Wextra
|
||||
CFLAGS = -c -std=c99 -O3 -Wall -Wextra -D_GNU_SOURCE
|
||||
LDFLAGS =
|
||||
SOURCES = $(shell ls src/*.c)
|
||||
OBJECTS = $(SOURCES:.c=.o)
|
||||
|
||||
@@ -24,12 +24,16 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <time.h>
|
||||
#include <assert.h>
|
||||
|
||||
#include <pthread.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/syscall.h>
|
||||
|
||||
#include "tools.h"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user