+/*
+ * Copyright (C) 2016 Antoine Busque <abusque@efficios.com>
+ *
+ * SPDX-License-Identifier: GPL-2.0-only
+ *
+ */
+
/* _GNU_SOURCE is defined by config.h */
#include <dlfcn.h>
#include <stdio.h>
-#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
+#include <common/compat/errno.h>
+
/*
* libfoo has a direct dependency on libbar.
* libbar has a direct dependency on libzzz.