Skip to content

Commit de2218f

Browse files
committed
tests: depend on stdlib and new libhexagonrpc header file
Both the hexagonfs and iobuffer tests need malloc and free. The iobuffer test also needs REMOTE_SCALARS_MAKE. Include stdlib directly and include the new libhexagonrpc header file. Signed-off-by: Richard Acayan <[email protected]>
1 parent fe755d8 commit de2218f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/test_hexagonfs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
*/
2121

2222
#include <fcntl.h>
23-
#include <libhexagonrpc/fastrpc.h>
2423
#include <stdbool.h>
24+
#include <stdlib.h>
2525
#include <string.h>
2626
#include <unistd.h>
2727

tests/test_iobuffer.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
* along with this program. If not, see <https://www.gnu.org/licenses/>.
2020
*/
2121

22-
#include <libhexagonrpc/fastrpc.h>
22+
#include <libhexagonrpc/hexagonrpc.h>
23+
#include <stdlib.h>
2324
#include <string.h>
2425

2526
#include "../hexagonrpcd/iobuffer.h"

0 commit comments

Comments
 (0)