Klipper3d / klipper

Klipper is a 3d-printer firmware
GNU General Public License v3.0
8.95k stars 5.16k forks source link

Hardcoded path in src/linux/main.c for sched.h #6542

Closed cnf closed 2 months ago

cnf commented 2 months ago

In src/linux/main.c https://github.com/Klipper3d/klipper/blob/e37b007f67e5bdc330af45b78643f7789c789907/src/linux/main.c#L7 #include </usr/include/sched.h> is hard coded.

This doesn't work very well on NixOS for example, as it keeps things in separate hashed paths. So there is no /usr/include, at all. Is there a reason this is hardcoded?

Thanks!

github-actions[bot] commented 2 months ago

It looks like this ticket is a request for help (or similar). Many helpful people will not see your message here and you are unlikely to get a useful response. Instead, see the contact directions at: https://www.klipper3d.org/Contact.html

We use github to share the results of work done to improve Klipper. We don't use github for requests. (In particular, we don't use github for feature requests, to answer questions, nor to help diagnose problems with a printer.)

Please follow the directions at: https://www.klipper3d.org/Contact.html

This ticket will be automatically closed.

Best regards, ~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

cnf commented 2 months ago

Pointing to https://github.com/Klipper3d/klipper/pull/6493 in case anyone stumbles on this in the future.