--- a/procdbase.c
+++ b/procdbase.c
@@ -67,7 +67,7 @@
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
-#include <malloc.h>
+#include <stdlib.h>
#include "atop.h"
#include "photoproc.h"