diff --git src/cpulimit.c src/cpulimit.c
index 50eabea..e9c3fbe 100644
|
|
|
43 | 43 | #include <sys/types.h> |
44 | 44 | #include <sys/wait.h> |
45 | 45 | |
46 | | #ifdef __APPLE__ || __FREEBSD__ |
| 46 | #if (defined(__APPLE__) || defined(__FREEBSD__)) |
47 | 47 | #include <libgen.h> |
48 | 48 | #endif |
49 | 49 | |
diff --git tests/process_iterator_test.c tests/process_iterator_test.c
index 1615196..dc8fdd1 100644
|
|
|
28 | 28 | #include <signal.h> |
29 | 29 | #include <string.h> |
30 | 30 | |
31 | | #ifdef __APPLE__ || __FREEBSD__ |
| 31 | #if (defined(__APPLE__) || defined(__FREEBSD__)) |
32 | 32 | #include <libgen.h> |
33 | 33 | #endif |
34 | 34 | |