#3 Include libs in FloatImg.h

Open
opened 5 months ago by Mutah · 0 comments
Mutah commented 5 months ago

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

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.