Build fix: implicit declaration of function 'PERROR' on Solaris
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 11 Sep 2020 03:57:54 +0000 (23:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 11 Sep 2020 15:19:27 +0000 (11:19 -0400)
Solaris 10/11 CI builds complain that PERROR is not declared
in memstream.h. This addresses the warning on both platforms.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I09ce7cea216e075d0ef7256f738ea7400d193b6b

src/common/filter/memstream.h

index cd246eed27e9a8a4e032b3be40ccb1ecc3aaf50c..41c768146957c8f4ee07c9c96aeeba2f64095821 100644 (file)
@@ -21,6 +21,7 @@ FILE *lttng_fmemopen(void *buf, size_t size, const char *mode)
 
 #include <stdlib.h>
 #include <stdio.h>
 
 #include <stdlib.h>
 #include <stdio.h>
+#include <common/error.h>
 
 /*
  * Fallback for systems which don't have fmemopen. Copy buffer to a
 
 /*
  * Fallback for systems which don't have fmemopen. Copy buffer to a
This page took 0.025805 seconds and 5 git commands to generate.