Commit fddea6ed authored by Swann Perarnau's avatar Swann Perarnau

[fix] additional includes, config.h needed

Some string.h definitions only appear if _GNU_SOURCE is defined, which
is done for us in config.h. As usual, only include this in the .c files,
and first in the header.
parent 53a03511
......@@ -28,6 +28,8 @@
#include <stddef.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <strings.h>
#include <sys/mman.h>
#include <unistd.h>
......
......@@ -7,9 +7,8 @@
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
#include "config.h"
#include "aml.h"
#include <string.h>
#define AML_BITMAP_EMPTY (0UL)
#define AML_BITMAP_FULL (~0UL)
......
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