Commit 8296bbf8 authored by Dave Love's avatar Dave Love
Browse files

(random, srandom): Declare explicitly.

parent d1d1aa9c
......@@ -26,8 +26,14 @@ Boston, MA 02111-1307, USA. */
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
#include "lisp.h"
/* Including stdlib.h isn't necessarily enough to get srandom
declared, e.g. without __USE_XOPEN_EXTENDED with glibc 2. */
#ifdef HAVE_RANDOM
extern long int random P_ ((void));
extern void srandom P_ ((unsigned int));
#endif
#include "blockinput.h"
#undef NULL
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment