[PATCH 2/8] wmcalendar: Remove unnecessary includes; stdlib.h now always included.

Doug Torrance <[email protected]>
Newsgroups gmane.compw.window-managers.windowmaker.devel
Message-ID <[email protected]>
---
 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 <[email protected]>
  */
 
-#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;
-- 
2.7.4


-- 
To unsubscribe, send mail to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.