bareos: bareos-18.2 180b8621

Author Committer Branch Timestamp Parent
pstorz pstorz bareos-18.2 2019-05-14 11:41 bareos-18.2 0d795f93 Pending
Changeset FreeBSD: fix lmdb build on FreeBSD 12

Defining -D_WANT_SEMUN=1 enables the definition of "union semun"
in sys/sem.h on FreeBSD 12.

This fixes the following compile error:

  /src/lmdb/mdb.c:4832:14: error: variable has incomplete type 'union semun'
        union semun semu;
                    ^
  /core/src/lmdb/mdb.c:4832:8: note: forward declaration of 'union semun'
        union semun semu;
              ^
1 error generated.
mod - core/src/lmdb/CMakeLists.txt Diff File