Fix building libaskuser-notification against libsystemd 28/122828/1
authorRafal Krypa <r.krypa@samsung.com>
Mon, 3 Apr 2017 12:41:13 +0000 (14:41 +0200)
committerRafal Krypa <r.krypa@samsung.com>
Mon, 3 Apr 2017 13:19:33 +0000 (15:19 +0200)
commit97829a34cee99991d07f5ccde369becbb73c7b43
treee7c350fa673d85cce3030cb1411904b751ad1bc0
parentbf01ba3b3905671237d01c565787340d23b810cd
Fix building libaskuser-notification against libsystemd

NOTE: this fix works correctly when BUILD_WITH_SYSTEMD_DAEMON is set but
will fail to build if it's not set and systemd build dependencies are not
installed.

Such case is not cover for a simple reason - this flaw is already present
in several places of this project. It should be fixed in general way by
some other commit.

Change-Id: I422cedcc9f84faaf757a75a72c8a01e37bbe17b7
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
src/common/protocol/CMakeLists.txt
src/common/protocol/sock.cpp
src/common/protocol/sock.h