Bug#108619: libc6-dev: add __USE_BSD to [s]random guard
Package: libc6-dev
Version: 2.3.1-3
Followup-For: Bug #108619
hi :)
undefined srandom hit me when trying to get isakmpd to compile on
debian.
well, it's only a warning: implicit declaration of function `srandom'
but anyway...
the following fixes it for me, don't know if this is according
to specs and if other lines have to be changed, too
--- /usr/include/stdlib.h.orig 2002-11-09 19:37:17.000000000 +0100
+++ /usr/include/stdlib.h 2002-11-09 19:38:03.000000000 +0100
@@ -401,7 +401,7 @@
#endif /* Optimizing and Inlining. */
-#if defined __USE_SVID || defined __USE_XOPEN_EXTENDED
+#if defined __USE_SVID || defined __USE_XOPEN_EXTENDED || defined __USE_BSD
/* Convert N to base 64 using the digits "./0-9A-Za-z", least-significant
digit first. Returns a pointer to static storage overwritten by the
next call. */
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux pergament 2.4.19-pergament0 #1 Son Aug 25 17:07:17 CEST 2002 i686
Locale: LANG=C, LC_CTYPE=de_DE@euro
Versions of packages libc6-dev depends on:
ii libc6 2.3.1-3 GNU C Library: Shared libraries an
-- no debconf information
Reply to: