This fixes compilation with musl where the ptrdiff_t type is defined in stddef.h.
Signed-off-by: Enguerrand de Ribaucourt enguerrand.de-ribaucourt@savoirfairelinux.com --- receivedata.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/receivedata.c b/receivedata.c index 9a68f67..0aa797f 100644 --- a/receivedata.c +++ b/receivedata.c @@ -1,4 +1,5 @@ #include <assert.h> +#include <stddef.h> #include <sys/types.h> #include <unistd.h> #include <stdlib.h>