Browse Source

Fix building issues on Linux

pull/2421/head
Max Lv 5 years ago
parent
commit
ab9764dbdf
2 changed files with 2 additions and 1 deletions
  1. 2
      src/Makefile.am
  2. 1
      src/utils.h

2
src/Makefile.am

@ -1,6 +1,6 @@
VERSION_INFO = 2:0:0
AM_CFLAGS = -g -O2 -Wall -Werror -Wno-deprecated-declarations -Wcast-align -std=gnu99 -D_GNU_SOURCE
AM_CFLAGS = -g -O2 -Wall -Werror -Wno-deprecated-declarations -Wcast-align -fno-strict-aliasing -std=gnu99 -D_GNU_SOURCE
AM_CFLAGS += $(PTHREAD_CFLAGS)
if !USE_SYSTEM_SHARED_LIB
AM_CFLAGS += -I$(top_srcdir)/libbloom

1
src/utils.h

@ -24,6 +24,7 @@
#define _UTILS_H
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <time.h>

Loading…
Cancel
Save