src: shared: helpers: add missing includes to header
Needed for clang-tidy prep work, as it requires headers to work standalone (which is useful anyway).
This commit is contained in:
parent
2f6b5b7ef4
commit
dc0b3157a9
@ -18,6 +18,10 @@
|
|||||||
#ifndef __HELPERS_H__
|
#ifndef __HELPERS_H__
|
||||||
#define __HELPERS_H__
|
#define __HELPERS_H__
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#define ERRX fprintf (stderr, "out of memory\n"); exit (1)
|
#define ERRX fprintf (stderr, "out of memory\n"); exit (1)
|
||||||
|
|
||||||
#define UNCONST(a) ((void *)(unsigned long)(const void *)(a))
|
#define UNCONST(a) ((void *)(unsigned long)(const void *)(a))
|
||||||
|
Loading…
Reference in New Issue
Block a user