--- slang-2.0.7/src/slcommon.c.orig	2006-11-04 17:57:31.000000000 +0200
+++ slang-2.0.7/src/slcommon.c	2012-05-18 17:44:26.957975637 +0300
@@ -191,7 +191,7 @@
    return p;
 }
 
-#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2)
+#if !defined(HAVE_ISSETUGID) && defined(__GLIBC__) && (__GLIBC__ >= 2) && 0
 extern int __libc_enable_secure;
 # define HAVE___LIBC_ENABLE_SECURE 1
 #endif
