diff --git a/Process.h b/Process.h index 6c41edc2fdd8cf5400ce6a78980776ca0a6204cb..fda8480a995c7c41798f1487aa26e48d0294eea9 100644 --- a/Process.h +++ b/Process.h @@ -9,6 +9,11 @@ Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ +#ifdef MAJOR_IN_MKDEV +#elif defined(MAJOR_IN_SYSMACROS) || \ + (defined(HAVE_SYS_SYSMACROS_H) && HAVE_SYS_SYSMACROS_H) +#endif + #ifdef __ANDROID__ #define SYS_ioprio_get __NR_ioprio_get #define SYS_ioprio_set __NR_ioprio_set diff --git a/linux/LinuxProcessList.h b/linux/LinuxProcessList.h index 5005220a545de19238c088f1af8a75590699b93a..0851a1029fd17d1382dedc3a59ed4f5f9d159c57 100644 --- a/linux/LinuxProcessList.h +++ b/linux/LinuxProcessList.h @@ -9,6 +9,11 @@ Released under the GNU GPL, see the COPYING file in the source distribution for its full text. */ +#ifdef MAJOR_IN_MKDEV +#elif defined(MAJOR_IN_SYSMACROS) || \ + (defined(HAVE_SYS_SYSMACROS_H) && HAVE_SYS_SYSMACROS_H) +#endif + #ifdef HAVE_DELAYACCT #endif