summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/procproperties.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/procproperties.cpp b/src/procproperties.cpp
index b8af0d1..26861ec 100644
--- a/src/procproperties.cpp
+++ b/src/procproperties.cpp
@@ -26,7 +26,7 @@
#include <glibtop/procstate.h>
#if defined (__linux__)
#include <asm/param.h>
-#elif defined (__OpenBSD__)
+#elif defined (__NetBSD__) || defined (__OpenBSD__)
#include <sys/param.h>
#include <sys/sysctl.h>
#endif
@@ -114,7 +114,7 @@ fill_proc_properties (GtkWidget *tree, ProcInfo *info)
get_process_memory_info(info);
-#if defined (__OpenBSD__)
+#if defined (__NetBSD__) || defined (__OpenBSD__)
struct clockinfo cinf;
size_t size = sizeof (cinf);
int HZ;