diff options
-rw-r--r-- | htop.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -656,11 +656,12 @@ int main(int argc, char** argv) { } } - +#ifdef HAVE_PROC if (access(PROCDIR, R_OK) != 0) { fprintf(stderr, "Error: could not read procfs (compiled to look in %s).\n", PROCDIR); exit(1); } +#endif #ifdef HAVE_LIBNCURSESW char *locale = setlocale(LC_ALL, NULL); |