From 0145691112f14352ef15b49c1ea3079a8e80f6e8 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Tue, 21 Aug 2007 11:27:04 -0400 Subject: more solaris support based on patch from Brian Cameron. --- src/ck-sysdeps-linux.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/ck-sysdeps-linux.c') diff --git a/src/ck-sysdeps-linux.c b/src/ck-sysdeps-linux.c index 624bfc4..4b751d7 100644 --- a/src/ck-sysdeps-linux.c +++ b/src/ck-sysdeps-linux.c @@ -28,6 +28,10 @@ #include #include +#include +#include +#include + #ifdef HAVE_PATHS_H #include #endif /* HAVE_PATHS_H */ @@ -603,3 +607,13 @@ ck_unix_pid_get_ppid (pid_t pid) out: return ppid; } + +gboolean +ck_get_max_num_consoles (guint *num) +{ + if (num != NULL) { + *num = MAX_NR_CONSOLES; + } + + return TRUE; +} -- cgit