Skip to content

Commit

Permalink
[WPE] Unreviewed, build fix for Ubuntu LTS after 271330@main
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=265286

* Source/WebKit/WPEPlatform/wpe/drm/CMakeLists.txt:
* Source/WebKit/WPEPlatform/wpe/drm/WPEDRMSessionLogind.cpp:

Canonical link: https://commits.webkit.org/271376@main
  • Loading branch information
dpino authored and carlosgcampos committed Dec 1, 2023
1 parent 8618882 commit a2701c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Source/WebKit/WPEPlatform/wpe/drm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,16 @@ set(WPEPlatformDRM_PRIVATE_INCLUDE_DIRECTORIES
"${WEBKIT_DIR}/WPEPlatform/wpe/drm"
)

set(WPEPlatformDRM_SYSTEM_INCLUDE_DIRECTORIES
${GIO_UNIX_INCLUDE_DIRS}
${WPEPlatform_SYSTEM_INCLUDE_DIRECTORIES}
)

set(WPEPlatformDRM_LIBRARIES
Journald::Journald
LibInput::LibInput
Udev::Udev
${GIO_UNIX_LIBRARIES}
)

set(WPEPlatformDRM_SOURCES_FOR_INTROSPECTION
Expand All @@ -37,7 +43,7 @@ set(WPEPlatformDRM_SOURCES_FOR_INTROSPECTION
add_library(WPEPlatformDRM OBJECT ${WPEPlatformDRM_SOURCES})
add_dependencies(WPEPlatformDRM WPEPlatformGeneratedEnumTypesHeader)
target_include_directories(WPEPlatformDRM PRIVATE ${WPEPlatformDRM_PRIVATE_INCLUDE_DIRECTORIES})
target_include_directories(WPEPlatformDRM SYSTEM PRIVATE ${WPEPlatform_SYSTEM_INCLUDE_DIRECTORIES})
target_include_directories(WPEPlatformDRM SYSTEM PRIVATE ${WPEPlatformDRM_SYSTEM_INCLUDE_DIRECTORIES})
target_link_libraries(WPEPlatformDRM ${WPEPlatform_LIBRARIES} ${WPEPlatformDRM_LIBRARIES})

set_target_properties(WPEPlatformDRM PROPERTIES
Expand Down
1 change: 1 addition & 0 deletions Source/WebKit/WPEPlatform/wpe/drm/WPEDRMSessionLogind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@

#if ENABLE(JOURNALD_LOG)
#include <errno.h>
#include <glib-unix.h>
#include <sys/stat.h>
#include <sys/sysmacros.h>
#include <systemd/sd-login.h>
Expand Down

0 comments on commit a2701c1

Please sign in to comment.