๐ header in different paths in Ubuntu and Debian
๐ก Newskategorie: Linux Tipps
๐ Quelle: reddit.com
I'm working on a kernel module and testing it in Ubuntu and Debian server.
I have to #include <linux/sched/signal.h> for Ubuntu and <linux/signal.h> for Debian.
It's very annoying to change this manually for both systems.
Is there any way how can I check the OS, smth. like:
#ifdef DEBIAN
#include <linux/signal.h>
#endif
[link] [comments] ...