Skip to contentSkip to conversation

utils: sofprobeclient: fix musl build

DISCUSSION GitHub pull_request - opened 1 participant 1 message Jun 2 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): alsa-project/tinycompress/pr/[email protected]

#1 lore raw

alsa-project/tinycompress pull request #37 was opened from bkuhls:

With musl C library, we see following build failure:

```
probes_demux.c: In function ‘parser_parse_data’:
probes_demux.c:321:9: error: unknown type name ‘uint’; did you mean ‘int’?
  321 |         uint i = 0;

probes_demux.c:386:25: error: unknown type name ‘uint’; did you mean ‘int’?
  386 |                         uint data_to_copy;
```

uint is defined in <sys/types.h> header. It is usually included by <stdlib.h> but in musl stdlib.h doesn't include it.

Request URL : https://github.com/alsa-project/tinycompress/pull/37
Patch URL : https://github.com/alsa-project/tinycompress/pull/37.patch
Repository URL: https://github.com/alsa-project/tinycompress