compat: Add compatibility defines for older GLib

We are already using a number of defines and autoptrs from newer GLib
releases. Add the appropriate compatibility defines rather than removing
the corresponding code.

Closes: #222
This commit is contained in:
Benjamin Berg
2020-01-13 15:16:04 +01:00
parent bb08d2e3c2
commit 169ca1ba77
5 changed files with 37 additions and 0 deletions

View File

@@ -22,6 +22,7 @@
#define FP_COMPONENT "device"
#include "fpi-device.h"
#include "fpi-compat.h"
#include "fpi-log.h"
#include "test-device-fake.h"