Skip to content

Commit

Permalink
Include <glib.h> in config.h.in
Browse files Browse the repository at this point in the history
  • Loading branch information
realh committed Aug 23, 2023
1 parent e2ba5d3 commit e31867d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion debian/changelog
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ roxterm (3.13.2) unstable; urgency=medium
* New upstream version:
+ Fix compilation error when using glib < 2.74.

-- Tony Houghton <[email protected]> Wed, 23 Aug 2023 19:05:30 +0100
-- Tony Houghton <[email protected]> Wed, 23 Aug 2023 19:58:06 +0100

roxterm (3.13.1) unstable; urgency=medium

Expand Down
3 changes: 2 additions & 1 deletion src/config.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
#ifndef ROXTERM__CONFIG_H
#define ROXTERM__CONFIG_H

#include <glib.h>

#define BIN_DIR "@CMAKE_INSTALL_FULL_BINDIR@"

#define DATA_DIR "@CMAKE_INSTALL_FULL_DATADIR@"
Expand All @@ -41,7 +43,6 @@
//#cmakedefine HAVE_VTE_HANDLE_SCROLL
#define RT_VTE_LIBDIR "@RT_VTE_LIBDIR@"

/* GLIB_CHECK_VERSION is broken! */
#if GLIB_MAJOR_VERSION < 2 || \
(GLIB_MAJOR_VERSION == 2 && GLIB_MINOR_VERSION < 74)
#define G_CONNECT_DEFAULT ((GConnectFlags) 0)
Expand Down

0 comments on commit e31867d

Please sign in to comment.