--- ast-base.orig/src/lib/libast/comp/tmpnam.c	2006-09-22 17:28:13.000000000 +0200
+++ ast-base/src/lib/libast/comp/tmpnam.c	2016-02-17 17:54:43.410819214 +0100
@@ -38,9 +38,10 @@
 #define extern	__EXPORT__
 #endif
 
-#ifndef L_tmpnam
+//#ifndef L_tmpnam
+#undef L_tmpnam
 #define L_tmpnam	25
-#endif
+//#endif
 
 extern char*
 tmpnam(char* s)
