fix mfkey tools (issue #247)

- add -std=c99 -D_ISOC99_SOURCE to compiler flags
- fix: include <string.h> instead of <strings.h> in mfkey64.c
This commit is contained in:
pwpiwi 2017-03-26 12:28:07 +02:00
parent f513388ee0
commit dc2349ae77
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
VPATH = ../../common/crapto1 ../../client
CC = gcc
LD = gcc
CFLAGS = -I../../common -I../../client -Wall -O4
CFLAGS = -std=c99 -D_ISOC99_SOURCE -I../../common -I../../client -Wall -O3
LDFLAGS =
OBJS = crypto1.o crapto1.o util.o mfkey.o

View file

@ -1,5 +1,5 @@
#include <stdio.h>
#include <strings.h>
#include <string.h>
#include <inttypes.h>
#include "crapto1/crapto1.h"
#include "util.h"