Skip to content
Snippets Groups Projects
Commit 4afb4762 authored by Marek Vavrusa's avatar Marek Vavrusa
Browse files

Compatiblity fixes for FreeBSD.

parent 06d1d54f
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ CFLAGS="$CFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
AC_SEARCH_LIBS([pow], [m])
AC_SEARCH_LIBS([pthread_create], [pthread], [], [AC_MSG_ERROR([pthreads not found])])
AC_SEARCH_LIBS([rcu_read_lock], [urcu], [], [AC_MSG_ERROR([liburcu not found])])
AC_SEARCH_LIBS([rcu_set_pointer_sym], [urcu], [], [AC_MSG_ERROR([liburcu not found])])
#AC_SEARCH_LIBS([clock_gettime], [rt], [], [AC_MSG_ERROR([librt not found])])
AC_SEARCH_LIBS([OpenSSL_add_all_digests], [crypto],[], [AC_MSG_ERROR([libcrypto not found])])
AC_SEARCH_LIBS([ev_loop_new], [ev],[], [AC_MSG_ERROR([libev not found])])
......
......@@ -23,6 +23,7 @@
#include <assert.h>
#include "universal-system.h"
#include "common.h"
#include "util/utils.h"
/*----------------------------------------------------------------------------*/
......
......@@ -43,6 +43,7 @@
#define _KNOT_UNIVERSAL_SYSTEM_H_
#include <stdint.h>
#include "common.h"
enum { US_FNC_COUNT = 4 /*!< Number of functions for one generation. */ };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment