summaryrefslogtreecommitdiff
path: root/src/basic/json.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/basic/json.c')
-rw-r--r--src/basic/json.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/basic/json.c b/src/basic/json.c
index 9d5dedb934..1523e9fb09 100644
--- a/src/basic/json.c
+++ b/src/basic/json.c
@@ -19,7 +19,10 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#include <errno.h>
#include <math.h>
+#include <stdlib.h>
+#include <string.h>
#include <sys/types.h>
#include "alloc-util.h"