Skip to content

Some basic compilation fixes for older toolchains - #522

Open
dhewg wants to merge 3 commits into
ucode-lang:masterfrom
dhewg:ccfixes
Open

dhewg wants to merge 3 commits into
ucode-lang:masterfrom
dhewg:ccfixes

Conversation

@dhewg

@dhewg dhewg commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

These are most of the fixes I needed to get ucode to compile with a rather old vendor toolchain.
The rest is not appropriate (ifdeffery in socket.c), but hey, I've got ucode running on an old uclibc based box ;)

The rtnl and socket modules include these.
Provide them next to the other linux headers so compiliation succeeds
on environments not providing them.

Signed-off-by: Andre Heider <a.heider@gmail.com>
Add fallback values for older environments.

Signed-off-by: Andre Heider <a.heider@gmail.com>
Add a fallback value for older environments.

Signed-off-by: Andre Heider <a.heider@gmail.com>

This branch has not been deployed

No deployments
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.

1 participant