Skip to content

Commit

Permalink
src/libs/types.h: include sys/types.h (#273)
Browse files Browse the repository at this point in the history
Include sys/types.h to avoid the following uclibc build failure since
version 5.52 and
2d6716a:

In file included from libs/base64.h:25,
                 from libs/base64.c:23:
libs/types.h:30:9: error: unknown type name 'ssize_t'
   30 | typedef ssize_t sz;
      |         ^~~~~~~

Fixes:
 - http://autobuild.buildroot.org/results/24498049d7beb4afaaf9f9a0c2fc0bcd26a3ee04

Signed-off-by: Fabrice Fontaine <[email protected]>
  • Loading branch information
ffontaine authored May 15, 2024
1 parent dfeefe5 commit 6c24c9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdbool.h>
#include <stdint.h>
#include <sys/types.h>


typedef long long sll;
Expand Down

0 comments on commit 6c24c9e

Please sign in to comment.