From 164eb6e2ba4a8793e30341a9f8d65cac34cfb0eb Mon Sep 17 00:00:00 2001
From: Doug Torrance <dtorrance@piedmont.edu>
Date: Wed, 22 Feb 2017 00:14:43 -0500
Subject: [PATCH] wmcalendar: Remove unnecessary includes; stdlib.h now always
 included.

---
 wmcalendar/Src/dockapp.h | 45 +---------------------------------------
 1 file changed, 1 insertion(+), 44 deletions(-)

diff --git a/wmcalendar/Src/dockapp.h b/wmcalendar/Src/dockapp.h
index 506ceb7..1ec2d7c 100644
--- a/wmcalendar/Src/dockapp.h
+++ b/wmcalendar/Src/dockapp.h
@@ -23,55 +23,12 @@
  * modified by Seiichi SATO <ssato@sh.rim.or.jp>
  */
 
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
 #include <X11/Xlib.h>
 #include <X11/xpm.h>
 #include <X11/extensions/shape.h>
 
 #include <stdio.h>
-
-#if STDC_HEADERS
-# include <stdlib.h>
-# include <stddef.h>
-#else
-# if HAVE_STDLIB_H
-#  include <stdlib.h>
-# endif
-#endif
-
-#if HAVE_STRING_H
-# if !STDC_HEADERS && HAVE_MEMORY_H
-#  include <memory.h>
-# endif
-# include <string.h>
-#endif
-#if HAVE_STRINGS_H
-# include <strings.h>
-#endif
-
-#if HAVE_SELECT
-# include <sys/select.h>
-#endif
-
-#if TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# if HAVE_SYS_TIME_H
-#  include <sys/time.h>
-# else
-#  include <time.h>
-# endif
-#endif
-
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#else
-/* We are in trouble. */
-#endif
+#include <stdlib.h>
 
 extern Display *display;
 extern Bool dockapp_iswindowed;