Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 908254 | Differences between
and this patch

Collapse All | Expand All

(-)a/include/meson.build (-1 lines)
Lines 91-97 endif Link Here
91
91
92
conf_data.set('HAVE_LIBBSD', libbsd_dep.found() ? '1' : false)
92
conf_data.set('HAVE_LIBBSD', libbsd_dep.found() ? '1' : false)
93
# Note: this symbol is used by libXtrans.
93
# Note: this symbol is used by libXtrans.
94
conf_data.set('HAVE_SYSTEMD_DAEMON', libsystemd_daemon_dep.found() ? '1' : false)
95
conf_data.set('HAVE_XSHMFENCE', xshmfence_dep.found() ? '1' : false)
94
conf_data.set('HAVE_XSHMFENCE', xshmfence_dep.found() ? '1' : false)
96
conf_data.set('WITH_LIBDRM', libdrm_required ? '1' : false)
95
conf_data.set('WITH_LIBDRM', libdrm_required ? '1' : false)
97
conf_data.set('GLAMOR_HAS_EGL_QUERY_DMABUF',
96
conf_data.set('GLAMOR_HAS_EGL_QUERY_DMABUF',
(-)a/include/systemd-logind.h (-47 lines)
Lines 1-47 Link Here
1
/*
2
 * Copyright © 2013 Red Hat, Inc.
3
 *
4
 * Permission is hereby granted, free of charge, to any person obtaining a
5
 * copy of this software and associated documentation files (the "Software"),
6
 * to deal in the Software without restriction, including without limitation
7
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8
 * and/or sell copies of the Software, and to permit persons to whom the
9
 * Software is furnished to do so, subject to the following conditions:
10
 *
11
 * The above copyright notice and this permission notice (including the next
12
 * paragraph) shall be included in all copies or substantial portions of the
13
 * Software.
14
 *
15
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21
 * DEALINGS IN THE SOFTWARE.
22
 *
23
 * Author: Hans de Goede <hdegoede@redhat.com>
24
 */
25
26
#ifndef SYSTEMD_LOGIND_H
27
#define SYSTEMD_LOGIND_H
28
29
#ifdef SYSTEMD_LOGIND
30
int systemd_logind_init(void);
31
void systemd_logind_fini(void);
32
int systemd_logind_take_fd(int major, int minor, const char *path, Bool *paus);
33
void systemd_logind_release_fd(int major, int minor, int fd);
34
int systemd_logind_controls_session(void);
35
void systemd_logind_vtenter(void);
36
void systemd_logind_drop_master(void);
37
#else
38
#define systemd_logind_init()
39
#define systemd_logind_fini()
40
#define systemd_logind_take_fd(major, minor, path, paus) -1
41
#define systemd_logind_release_fd(major, minor, fd) close(fd)
42
#define systemd_logind_controls_session() 0
43
#define systemd_logind_vtenter()
44
#define systemd_logind_drop_master()
45
#endif
46
47
#endif

Return to bug 908254