Commit 363a0bf0 authored by louiz’'s avatar louiz’

Look for uuid/uuid.h instead of just uuid.h

Avoids a conflict between /usr/include/uuid.h and
/usr/local/include/uuid/uuid.h on freebsd
parent 20a06c95
......@@ -19,7 +19,7 @@ include(FindPkgConfig)
pkg_check_modules(LIBUUID uuid)
if(NOT LIBUUID_FOUND)
find_path(LIBUUID_INCLUDE_DIRS NAMES uuid.h
find_path(LIBUUID_INCLUDE_DIRS NAMES uuid/uuid.h
PATH_SUFFIXES uuid
DOC "The libuuid include directory")
......
......@@ -14,7 +14,7 @@
#include <set>
#include <stdio.h>
#include <uuid.h>
#include <uuid/uuid.h>
#include <cstdlib>
#include <set>
......
......@@ -4,7 +4,7 @@
#include <database/database.hpp>
#include <logger/logger.hpp>
#include <irc/iid.hpp>
#include <uuid.h>
#include <uuid/uuid.h>
#include <utils/get_first_non_empty.hpp>
#include <utils/time.hpp>
......
......@@ -20,7 +20,7 @@
#include <louloulibs.h>
#include <biboumi.h>
#include <uuid.h>
#include <uuid/uuid.h>
#ifdef SYSTEMD_FOUND
# include <systemd/sd-daemon.h>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment