Skip to content

Commit

Permalink
Tweaks to make sure it compiles on older raspian 8 (Jesse)
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias-Wandel committed Jun 24, 2020
1 parent b533c55 commit ccaac1d
Show file tree
Hide file tree
Showing 5 changed files with 186 additions and 192 deletions.
3 changes: 1 addition & 2 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ SRC=src
# with debug:
#CFLAGS:= $(CFLAGS) -O3 -Wall -g

CFLAGS:= $(CFLAGS) -O3 -Wall

CFLAGS:= $(CFLAGS) -std=c11 -O3 -Wall -D_POSIX_C_SOURCE
all: objdir imgcomp

objdir:
Expand Down
1 change: 1 addition & 0 deletions src/compare.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <stddef.h>
#include <stdlib.h>
#include <memory.h>
#include <time.h>
#include "imgcomp.h"
#include "config.h"

Expand Down
1 change: 1 addition & 0 deletions src/compare_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include <stddef.h>
#include <stdlib.h>
#include <memory.h>
#include <time.h>
#include "imgcomp.h"
#include "config.h"

Expand Down
1 change: 1 addition & 0 deletions src/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <ctype.h> // to declare isupper(), tolower()
#include <stdlib.h>
#include <string.h>
#include <time.h>

#include "imgcomp.h"
#include "config.h"
Expand Down
Loading

0 comments on commit ccaac1d

Please sign in to comment.