Skip to content

net_pcap: use standard unsigned type names#3762

Merged
OBattler merged 1 commit into
86Box:masterfrom
goshhhy:pcap-types
Oct 17, 2023
Merged

net_pcap: use standard unsigned type names#3762
OBattler merged 1 commit into
86Box:masterfrom
goshhhy:pcap-types

Conversation

@goshhhy

@goshhhy goshhhy commented Oct 17, 2023

Copy link
Copy Markdown
Contributor

u_int and u_char are not portable type aliases and are not available on all systems. this change alters net_pcap.c to instead use the standard unsigned char and unsigned int type names. this change allows 86Box to be built on Linux distributions that use musl-libc instead of glibc.

@OBattler
OBattler merged commit b73364b into 86Box:master Oct 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants