aboutsummaryrefslogtreecommitdiff
path: root/src/shared/helpers.h
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-01-29 03:23:46 +0000
committerWilliam Hubbs <w.d.hubbs@gmail.com>2023-01-28 22:14:30 -0600
commitdc0b3157a9ffa5e03e233ce0b238bbc77d3c5980 (patch)
tree088a95a102b9ff6845ccc7f19596aa34051ace8e /src/shared/helpers.h
parent2f6b5b7ef4cd12c801167ca79efec3d69b2927cd (diff)
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).
Diffstat (limited to 'src/shared/helpers.h')
-rw-r--r--src/shared/helpers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/helpers.h b/src/shared/helpers.h
index eaf685c6..3a868119 100644
--- a/src/shared/helpers.h
+++ b/src/shared/helpers.h
@@ -18,6 +18,10 @@
#ifndef __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 UNCONST(a) ((void *)(unsigned long)(const void *)(a))