wmsun: Update includes using include-what-you-use.

This commit is contained in:
Doug Torrance 2015-06-14 17:04:55 -05:00 committed by Carlos R. Mafra
parent e1e6fef2c9
commit 238c627724
2 changed files with 13 additions and 13 deletions

View file

@ -1,5 +1,4 @@
#include <stdio.h> #include <math.h> /* for sin, cos, fabs, sqrt, atan, etc */
#include <math.h>
#define DegPerRad 57.29577951308232087680 #define DegPerRad 57.29577951308232087680
#define RadPerDeg 0.01745329251994329576 #define RadPerDeg 0.01745329251994329576

View file

@ -44,17 +44,18 @@
* Includes * Includes
*/ */
#define _POSIX_C_SOURCE 1 #define _POSIX_C_SOURCE 1
#include <stdio.h> #include <X11/X.h> /* for ButtonPress, ButtonRelease, etc */
#include <math.h> #include <X11/Xlib.h> /* for XEvent, ConnectionNumber, etc */
#include <unistd.h> #include <math.h> /* for cos, sin */
#include <stdlib.h> #include <stdio.h> /* for printf, NULL */
#include <string.h> #include <stdlib.h> /* for atof, atoi, exit */
#include <time.h> #include <string.h> /* for strcmp */
#include <X11/X.h> #include <sys/select.h> /* for select, FD_SET, FD_ZERO, etc */
#include <X11/xpm.h> #include <sys/time.h> /* for timeval */
#include "wmgeneral/wmgeneral.h" #include <time.h> /* for tm, gmtime_r, localtime_r, etc */
#include "wmSun_master.xpm" #include "wmSun_mask.xbm" /* for wmSun_mask_bits, etc */
#include "wmSun_mask.xbm" #include "wmSun_master.xpm" /* for wmSun_master */
#include "wmgeneral/wmgeneral.h" /* for copyXPMArea, display, etc */