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>
#include <math.h> /* for sin, cos, fabs, sqrt, atan, etc */
#define DegPerRad 57.29577951308232087680
#define RadPerDeg 0.01745329251994329576

View file

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