Include libs in FloatImg.h #3

Open
opened 2021-05-20 06:40:33 +02:00 by Mutah · 0 comments

FloatImg.h uses types like int32_t that may have not been declared in .c files and so rely on the import order : moving FloatImg.h at the top of C files breaks the build.

Adding

#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

At the top of FloatImg.h fixes this problem.

FloatImg.h uses types like int32_t that may have not been declared in .c files and so rely on the import order : moving FloatImg.h at the top of C files breaks the build. Adding ``` #include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> ``` At the top of FloatImg.h fixes this problem.
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tTh/FloatImg#3
No description provided.