Sophie

Sophie

distrib > Mageia > 6 > i586 > media > core-release-src > by-pkgid > 73edf512a504638ad0d2c1999857aa05 > files > 3

xdm-1.1.11-16.mga6.src.rpm

--- xdm-1.1.11/xdm/session.c.orig	2017-05-06 12:39:44.923627950 -0400
+++ xdm-1.1.11/xdm/session.c	2017-05-06 12:43:52.939189215 -0400
@@ -129,6 +129,10 @@
 extern	void	endgrent(void);
 #endif
 
+#ifdef HAVE_SETPROCTITLE
+# include <bsd/unistd.h>
+#endif
+
 #ifdef HAVE_GETSPNAM
 # if defined(SVR4)
 #  include <shadow.h>
--- xdm-1.1.11/xdm/choose.c.orig	2017-05-06 12:44:30.080091454 -0400
+++ xdm-1.1.11/xdm/choose.c	2017-05-06 12:44:49.449040471 -0400
@@ -54,6 +54,10 @@
 #  include       <tiuser.h>
 # endif
 
+#ifdef HAVE_SETPROCTITLE
+# include <bsd/unistd.h>
+#endif
+
 # include <time.h>
 # define Time_t time_t
 
--- xdm-1.1.11/xdm/genauth.c.orig	2017-05-06 12:46:12.040823076 -0400
+++ xdm-1.1.11/xdm/genauth.c	2017-05-06 12:47:02.358690630 -0400
@@ -38,6 +38,10 @@
 #include   "dm_auth.h"
 #include   "dm_error.h"
 
+#ifdef HAVE_ARC4RANDOM
+# include <bsd/stdlib.h>
+#endif
+
 #include <errno.h>
 
 #include <time.h>