-/* xscreensaver, Copyright (c) 1992 Jamie Zawinski <jwz@lucid.com>
+/* xscreensaver, Copyright (c) 1992 Jamie Zawinski <jwz@mcom.com>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
#include "spline.h"
#include <stdio.h>
#include <math.h>
+#ifdef VMS
+#define M_PI 3.14159265358979323846
+#endif
#if __STDC__
-#include <values.h>
+#include <math.h> /* for M_PI */
#endif
struct ball {
char *progclass = "Attraction";
char *defaults [] = {
- "*background: black",
- "*foreground: white",
+ "Attraction.background: black", /* to placate SGI */
+ "Attraction.foreground: white",
"*mode: balls",
"*points: 0",
"*size: 0",