Index: /trunk/docs/Changelog
===================================================================
--- /trunk/docs/Changelog	(revision 536)
+++ /trunk/docs/Changelog	(revision 537)
@@ -1,2 +1,6 @@
+
+4.3.1:
+	* fix compile failure on non-Linux systems (reported by Romain and Tim)
+
 4.3.0:
 	* add support for /etc/subuid, /etc/subgid maps
Index: /trunk/src/sh_subuid.c
===================================================================
--- /trunk/src/sh_subuid.c	(revision 536)
+++ /trunk/src/sh_subuid.c	(revision 537)
@@ -23,5 +23,4 @@
 #define FIL__  _("sh_subuid.c")
 
-#if defined(__linux__)
 
 #include <sys/types.h>
@@ -33,4 +32,6 @@
 #include <errno.h>
 #include <limits.h>
+
+#if defined(__linux__)
 
 #include "samhain.h"
@@ -232,4 +233,5 @@
 char * sh_get_subuid (unsigned long subuid)
 {
+  (void) subuid;
   return NULL;
 }
@@ -237,4 +239,5 @@
 char * sh_get_subgid (unsigned long subgid)
 {
+  (void) subgid;
   return NULL;
 }
