diff -ru src.orig//util/symlinks.c src/util/symlinks.c
--- src.orig//util/symlinks.c	2014-01-22 16:04:04.771833595 +0100
+++ src/util/symlinks.c	2014-01-22 16:04:50.959818437 +0100
@@ -317,7 +317,7 @@
 
 int main(int argc, char **argv)
 {
-#if defined (_GNU_SOURCE) && defined (__GLIBC__)
+#if defined (_GNU_SOURCE)
 	static char path[PATH_MAX+2];
 	char* cwd = get_current_dir_name();
 #else
@@ -331,7 +331,7 @@
         else
                 progname++;
 
-#if defined (_GNU_SOURCE) && defined (__GLIBC__)
+#if defined (_GNU_SOURCE)
 	if (NULL == cwd) {
 		fprintf(stderr,"get_current_dir_name() failed\n");
 #else
@@ -340,7 +340,7 @@
 #endif
 		exit (1);
 	}
-#if defined (_GNU_SOURCE) && defined (__GLIBC__)
+#if defined (_GNU_SOURCE)
 	cwd = realloc(cwd, strlen(cwd)+2);
 	if (cwd == NULL) {
 		fprintf(stderr, "realloc() failed\n");
