]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/proc.c
Remove imp.h and exp.h header files
[ngircd-alex.git] / src / ngircd / proc.c
index d290f3bd100faed3cc17d8d24cd6396443a41131..4220f1ab16f9101550e40df8e351caa777545b21 100644 (file)
@@ -16,7 +16,6 @@
  * Process management
  */
 
-#include "imp.h"
 #include <assert.h>
 #include <errno.h>
 #include <signal.h>
@@ -27,8 +26,6 @@
 #include "log.h"
 #include "io.h"
 #include "conn.h"
-
-#include "exp.h"
 #include "sighandlers.h"
 #include "proc.h"
 
@@ -77,6 +74,9 @@ Proc_Fork(PROC_STAT *proc, int *pipefds, void (*cbfunc)(int, short), int timeout
                return -1;
        case 0:
                /* New child process: */
+#ifdef HAVE_ARC4RANDOM_STIR
+               arc4random_stir();
+#endif
 #ifndef HAVE_ARC4RANDOM
                srand(seed ^ (unsigned int)time(NULL) ^ getpid());
 #endif