Commit 68478e1d authored by Swann Perarnau's avatar Swann Perarnau

[fix] include config.h to activate missing symbols

MAP_ANONYMOUS is only visible in _GNU_SOURCE code. Ensure the config
header is included first so that this symbol appears.
parent f6b0a4d9
Pipeline #7914 passed with stages
in 4 minutes and 16 seconds
......@@ -19,6 +19,7 @@
#define AML_H 1
#include <assert.h>
#include <errno.h>
#include <inttypes.h>
#include <numa.h>
#include <numaif.h>
......
......@@ -11,10 +11,6 @@
#ifndef AML_AREA_LINUX_NUMA_H
#define AML_AREA_LINUX_NUMA_H
#include <sys/mman.h>
#include <numa.h>
#include <numaif.h>
/**
* @defgroup aml_area_linux "AML Linux Areas"
* @brief Linux Implementation of Areas.
......
......@@ -7,8 +7,7 @@
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include <stdlib.h>
#include <errno.h>
#include "config.h"
#include "aml.h"
#include "aml/area/linux.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment