Signed-off-by: Robert Tomsick <rob...@tomsick.net>
---
 cde/programs/dtscreen/flame.c    |    1 +
 cde/programs/dtscreen/hopalong.c |    1 +
 cde/programs/dtscreen/image.c    |    1 +
 cde/programs/dtscreen/life.c     |    1 +
 cde/programs/dtscreen/pyro.c     |    2 ++
 cde/programs/dtscreen/qix.c      |    1 +
 cde/programs/dtscreen/rotor.c    |    1 +
 cde/programs/dtscreen/swarm.c    |    1 +
 cde/programs/dtscreen/worm.c     |    3 ++-
 9 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/cde/programs/dtscreen/flame.c b/cde/programs/dtscreen/flame.c
index 4de3d25..9ba56a5 100644
--- a/cde/programs/dtscreen/flame.c
+++ b/cde/programs/dtscreen/flame.c
@@ -44,6 +44,7 @@
 
 #include "dtscreen.h"
 #include <math.h>
+#include <stdlib.h>
 
 #define MAXTOTAL       10000
 #define MAXBATCH       10
diff --git a/cde/programs/dtscreen/hopalong.c b/cde/programs/dtscreen/hopalong.c
index 539fb79..8fd3cc1 100644
--- a/cde/programs/dtscreen/hopalong.c
+++ b/cde/programs/dtscreen/hopalong.c
@@ -52,6 +52,7 @@
 
 #include "dtscreen.h"
 #include <math.h>
+#include <stdlib.h>
 
 typedef struct {
     int         centerx;
diff --git a/cde/programs/dtscreen/image.c b/cde/programs/dtscreen/image.c
index da6ff03..d35625b 100644
--- a/cde/programs/dtscreen/image.c
+++ b/cde/programs/dtscreen/image.c
@@ -42,6 +42,7 @@
 
 #include "dtscreen.h"
 #include "xlogo.bit"
+#include <stdlib.h>
 
 static XImage logo = {
     0, 0,                      /* width, height */
diff --git a/cde/programs/dtscreen/life.c b/cde/programs/dtscreen/life.c
index a2d6d11..7d5eef5 100644
--- a/cde/programs/dtscreen/life.c
+++ b/cde/programs/dtscreen/life.c
@@ -47,6 +47,7 @@
 
 #include "dtscreen.h"
 #include "lifeicon.bit"
+#include <stdlib.h>
 
 static XImage logo = {
     0, 0,                      /* width, height */
diff --git a/cde/programs/dtscreen/pyro.c b/cde/programs/dtscreen/pyro.c
index e08c2b2..0501f55 100644
--- a/cde/programs/dtscreen/pyro.c
+++ b/cde/programs/dtscreen/pyro.c
@@ -50,6 +50,8 @@
 
 #include "dtscreen.h"
 #include <math.h>
+#include <stdlib.h>
+
 #define TWOPI 6.2831853
 
 /* Define this >1 to get small rectangles instead of points */
diff --git a/cde/programs/dtscreen/qix.c b/cde/programs/dtscreen/qix.c
index 9aa4545..e497bdc 100644
--- a/cde/programs/dtscreen/qix.c
+++ b/cde/programs/dtscreen/qix.c
@@ -49,6 +49,7 @@
  */
 
 #include "dtscreen.h"
+#include <stdlib.h>
 
 typedef struct {
     int         x;
diff --git a/cde/programs/dtscreen/rotor.c b/cde/programs/dtscreen/rotor.c
index f6b3694..ead68a8 100644
--- a/cde/programs/dtscreen/rotor.c
+++ b/cde/programs/dtscreen/rotor.c
@@ -47,6 +47,7 @@
 
 #include <stdio.h>
 #include <math.h>
+#include <stdlib.h>
 #include "dtscreen.h"
 
 #define SAVE           100     /* this is a good constant to tweak */
diff --git a/cde/programs/dtscreen/swarm.c b/cde/programs/dtscreen/swarm.c
index c3a6bc3..f72d42a 100644
--- a/cde/programs/dtscreen/swarm.c
+++ b/cde/programs/dtscreen/swarm.c
@@ -38,6 +38,7 @@
  * 31-Aug-90: Adapted from xswarm by Jeff Butterworth. (butte...@ncsc.org)
  */
 
+#include <stdlib.h>
 #include "dtscreen.h"
 
 #define TIMES  4               /* number of time positions recorded */
diff --git a/cde/programs/dtscreen/worm.c b/cde/programs/dtscreen/worm.c
index 10d4cad..bdf0141 100644
--- a/cde/programs/dtscreen/worm.c
+++ b/cde/programs/dtscreen/worm.c
@@ -53,7 +53,8 @@
  */
 
 #include "dtscreen.h"
-#include       <math.h>
+#include <math.h>
+#include <stdlib.h>
 
 #define MAXCOLORS 64
 #define MAXWORMS 64
-- 
1.7.10.4


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to