WindowMaker/wm-giflib.patch

2535 lines
56 KiB
Diff

---
WINGs/Examples/colorpick.c | 4 ++++
WINGs/Examples/fontl.c | 4 ++++
WINGs/Examples/puzzle.c | 4 ++++
WINGs/Extras/wtabledelegates.c | 4 ++++
WINGs/Extras/wtableview.c | 4 ++++
WINGs/Tests/mywidget.c | 4 ++++
WINGs/Tests/testmywidget.c | 4 ++++
WINGs/Tests/wmfile.c | 4 ++++
WINGs/Tests/wmquery.c | 4 ++++
WINGs/Tests/wtest.c | 4 ++++
WINGs/array.c | 4 ++++
WINGs/bagtree.c | 4 ++++
WINGs/configuration.c | 4 ++++
WINGs/data.c | 4 ++++
WINGs/dragcommon.c | 4 ++++
WINGs/dragdestination.c | 4 ++++
WINGs/dragsource.c | 4 ++++
WINGs/error.c | 4 ++++
WINGs/findfile.c | 4 ++++
WINGs/handlers.c | 4 ++++
WINGs/hashtable.c | 4 ++++
WINGs/memory.c | 4 ++++
WINGs/misc.c | 4 ++++
WINGs/notification.c | 4 ++++
WINGs/proplist.c | 4 ++++
WINGs/selection.c | 4 ++++
WINGs/string.c | 4 ++++
WINGs/tree.c | 4 ++++
WINGs/userdefaults.c | 4 ++++
WINGs/usleep.c | 4 ++++
WINGs/wapplication.c | 4 ++++
WINGs/wappresource.c | 4 ++++
WINGs/wballoon.c | 4 ++++
WINGs/wbox.c | 4 ++++
WINGs/wbrowser.c | 4 ++++
WINGs/wbutton.c | 4 ++++
WINGs/wcolor.c | 4 ++++
WINGs/wcolorpanel.c | 4 ++++
WINGs/wcolorwell.c | 4 ++++
WINGs/wevent.c | 4 ++++
WINGs/wfilepanel.c | 4 ++++
WINGs/wfont.c | 4 ++++
WINGs/wfontpanel.c | 4 ++++
WINGs/wframe.c | 4 ++++
WINGs/widgets.c | 4 ++++
WINGs/winputmethod.c | 4 ++++
WINGs/wlabel.c | 4 ++++
WINGs/wlist.c | 4 ++++
WINGs/wmenuitem.c | 4 ++++
WINGs/wmisc.c | 4 ++++
WINGs/wpanel.c | 4 ++++
WINGs/wpixmap.c | 4 ++++
WINGs/wpopupbutton.c | 4 ++++
WINGs/wprogressindicator.c | 4 ++++
WINGs/wruler.c | 4 ++++
WINGs/wscroller.c | 4 ++++
WINGs/wscrollview.c | 4 ++++
WINGs/wslider.c | 4 ++++
WINGs/wsplitview.c | 4 ++++
WINGs/wtabview.c | 4 ++++
WINGs/wtext.c | 4 ++++
WINGs/wtextfield.c | 4 ++++
WINGs/wutil.c | 4 ++++
WINGs/wview.c | 4 ++++
WINGs/wwindow.c | 4 ++++
WPrefs.app/Appearance.c | 4 ++++
WPrefs.app/Configurations.c | 4 ++++
WPrefs.app/Expert.c | 4 ++++
WPrefs.app/Focus.c | 4 ++++
WPrefs.app/FontSimple.c | 4 ++++
WPrefs.app/Icons.c | 4 ++++
WPrefs.app/KeyboardSettings.c | 4 ++++
WPrefs.app/Menu.c | 4 ++++
WPrefs.app/MenuPreferences.c | 4 ++++
WPrefs.app/MouseSettings.c | 4 ++++
WPrefs.app/Paths.c | 4 ++++
WPrefs.app/Preferences.c | 4 ++++
WPrefs.app/TexturePanel.c | 4 ++++
WPrefs.app/Themes.c | 4 ++++
WPrefs.app/WPrefs.c | 4 ++++
WPrefs.app/WindowHandling.c | 4 ++++
WPrefs.app/Workspace.c | 4 ++++
WPrefs.app/double.c | 4 ++++
WPrefs.app/editmenu.c | 4 ++++
WPrefs.app/main.c | 4 ++++
WPrefs.app/xmodifier.c | 4 ++++
configure.ac | 4 +++-
src/actions.c | 4 ++++
src/appicon.c | 4 ++++
src/application.c | 4 ++++
src/appmenu.c | 4 ++++
src/balloon.c | 4 ++++
src/client.c | 4 ++++
src/colormap.c | 4 ++++
src/cycling.c | 4 ++++
src/defaults.c | 4 ++++
src/dialog.c | 4 ++++
src/dock.c | 4 ++++
src/dockedapp.c | 4 ++++
src/event.c | 4 ++++
src/framewin.c | 4 ++++
src/geomview.c | 4 ++++
src/icon.c | 4 ++++
src/main.c | 4 ++++
src/menu.c | 4 ++++
src/misc.c | 4 ++++
src/monitor.c | 4 ++++
src/motif.c | 4 ++++
src/moveres.c | 4 ++++
src/osdep_bsd.c | 4 ++++
src/osdep_darwin.c | 4 ++++
src/osdep_linux.c | 4 ++++
src/osdep_stub.c | 4 ++++
src/pixmap.c | 4 ++++
src/placement.c | 4 ++++
src/properties.c | 4 ++++
src/resources.c | 4 ++++
src/rootmenu.c | 4 ++++
src/screen.c | 4 ++++
src/session.c | 4 ++++
src/shutdown.c | 4 ++++
src/stacking.c | 4 ++++
src/startup.c | 4 ++++
src/superfluous.c | 4 ++++
src/switchmenu.c | 4 ++++
src/switchpanel.c | 4 ++++
src/texture.c | 4 ++++
src/usermenu.c | 4 ++++
src/wcore.c | 4 ++++
src/wdefaults.c | 4 ++++
src/window.c | 4 ++++
src/winmenu.c | 4 ++++
src/winspector.c | 4 ++++
src/wmspec.c | 4 ++++
src/workspace.c | 4 ++++
src/xdnd.c | 4 ++++
src/xinerama.c | 4 ++++
src/xmodifier.c | 4 ++++
src/xutil.c | 4 ++++
test/notest.c | 4 ++++
test/wtest.c | 4 ++++
util/convertfonts.c | 4 ++++
util/fontconv.c | 4 ++++
util/geticonset.c | 4 ++++
util/getstyle.c | 4 ++++
util/seticons.c | 4 ++++
util/setstyle.c | 4 ++++
util/wdread.c | 4 ++++
util/wdwrite.c | 4 ++++
util/wmagnify.c | 4 ++++
util/wmgenmenu.c | 4 ++++
util/wmmenugen.c | 4 ++++
util/wmmenugen_misc.c | 4 ++++
util/wmmenugen_parse_wmconfig.c | 4 ++++
util/wmmenugen_parse_xdg.c | 4 ++++
util/wxcopy.c | 4 ++++
wmlib/app.c | 4 ++++
wmlib/command.c | 4 ++++
wmlib/event.c | 4 ++++
wmlib/menu.c | 4 ++++
wrlib/alpha_combine.c | 4 ++++
wrlib/tests/testdraw.c | 4 ++++
wrlib/tests/testgrad.c | 4 ++++
wrlib/tests/testrot.c | 4 ++++
wrlib/tests/view.c | 4 ++++
167 files changed, 668 insertions(+), 3 deletions(-)
Index: WINGs/Examples/colorpick.c
===================================================================
--- WINGs/Examples/colorpick.c.orig
+++ WINGs/Examples/colorpick.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <WINGs/WINGs.h>
Index: WINGs/Examples/fontl.c
===================================================================
--- WINGs/Examples/fontl.c.orig
+++ WINGs/Examples/fontl.c
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
Index: WINGs/Examples/puzzle.c
===================================================================
--- WINGs/Examples/puzzle.c.orig
+++ WINGs/Examples/puzzle.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <WINGs/WINGs.h>
Index: WINGs/Extras/wtabledelegates.c
===================================================================
--- WINGs/Extras/wtabledelegates.c.orig
+++ WINGs/Extras/wtabledelegates.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdint.h>
#include <WINGs/WINGsP.h>
Index: WINGs/Extras/wtableview.c
===================================================================
--- WINGs/Extras/wtableview.c.orig
+++ WINGs/Extras/wtableview.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <WINGs/WINGsP.h>
#include <X11/cursorfont.h>
#include <stdint.h>
Index: WINGs/Tests/mywidget.c
===================================================================
--- WINGs/Tests/mywidget.c.orig
+++ WINGs/Tests/mywidget.c
@@ -13,6 +13,10 @@
*
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <WINGs/WINGsP.h>
/*
Index: WINGs/Tests/testmywidget.c
===================================================================
--- WINGs/Tests/testmywidget.c.orig
+++ WINGs/Tests/testmywidget.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <WINGs/WINGs.h>
#include <stdlib.h>
Index: WINGs/Tests/wmfile.c
===================================================================
--- WINGs/Tests/wmfile.c.orig
+++ WINGs/Tests/wmfile.c
@@ -11,6 +11,10 @@
-----------------------------------------------------------------------
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <WINGs/WINGs.h>
#include <unistd.h>
Index: WINGs/Tests/wmquery.c
===================================================================
--- WINGs/Tests/wmquery.c.orig
+++ WINGs/Tests/wmquery.c
@@ -3,6 +3,10 @@
* Author: Len Trigg <trigg@cs.waikato.ac.nz>
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <WINGs/WINGs.h>
#include <unistd.h>
Index: WINGs/Tests/wtest.c
===================================================================
--- WINGs/Tests/wtest.c.orig
+++ WINGs/Tests/wtest.c
@@ -2,6 +2,10 @@
* WINGs test application
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <WINGs/WINGs.h>
#include <stdio.h>
Index: WINGs/array.c
===================================================================
--- WINGs/array.c.orig
+++ WINGs/array.c
@@ -8,6 +8,10 @@
* proper credit is always appreciated :)
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <string.h>
Index: WINGs/bagtree.c
===================================================================
--- WINGs/bagtree.c.orig
+++ WINGs/bagtree.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <string.h>
Index: WINGs/configuration.c
===================================================================
--- WINGs/configuration.c.orig
+++ WINGs/configuration.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include "wconfig.h"
Index: WINGs/data.c
===================================================================
--- WINGs/data.c.orig
+++ WINGs/data.c
@@ -19,6 +19,10 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <string.h>
#include "WUtil.h"
Index: WINGs/dragcommon.c
===================================================================
--- WINGs/dragcommon.c.orig
+++ WINGs/dragcommon.c
@@ -1,5 +1,9 @@
#include "wconfig.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#define XDND_SOURCE_VERSION(dragInfo) dragInfo->protocolVersion
Index: WINGs/dragdestination.c
===================================================================
--- WINGs/dragdestination.c.orig
+++ WINGs/dragdestination.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include <X11/Xatom.h>
Index: WINGs/dragsource.c
===================================================================
--- WINGs/dragsource.c.orig
+++ WINGs/dragsource.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include "WINGsP.h"
Index: WINGs/error.c
===================================================================
--- WINGs/error.c.orig
+++ WINGs/error.c
@@ -19,6 +19,10 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdarg.h>
Index: WINGs/findfile.c
===================================================================
--- WINGs/findfile.c.orig
+++ WINGs/findfile.c
@@ -19,6 +19,10 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include "WUtil.h"
Index: WINGs/handlers.c
===================================================================
--- WINGs/handlers.c.orig
+++ WINGs/handlers.c
@@ -3,6 +3,10 @@
* WINGs internal handlers: timer, idle and input handlers
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include "WINGsP.h"
Index: WINGs/hashtable.c
===================================================================
--- WINGs/hashtable.c.orig
+++ WINGs/hashtable.c
@@ -1,5 +1,9 @@
#include <config.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <string.h>
#include <stdlib.h>
Index: WINGs/memory.c
===================================================================
--- WINGs/memory.c.orig
+++ WINGs/memory.c
@@ -19,6 +19,10 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include "WUtil.h"
Index: WINGs/misc.c
===================================================================
--- WINGs/misc.c.orig
+++ WINGs/misc.c
@@ -20,6 +20,10 @@
/* Miscelaneous helper functions */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <WUtil.h>
#include "error.h"
Index: WINGs/notification.c
===================================================================
--- WINGs/notification.c.orig
+++ WINGs/notification.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <assert.h>
#include <stdio.h>
Index: WINGs/proplist.c
===================================================================
--- WINGs/proplist.c.orig
+++ WINGs/proplist.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
Index: WINGs/selection.c
===================================================================
--- WINGs/selection.c.orig
+++ WINGs/selection.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <X11/Xatom.h>
Index: WINGs/string.c
===================================================================
--- WINGs/string.c.orig
+++ WINGs/string.c
@@ -6,6 +6,10 @@
# undef _XOPEN_SOURCE
#endif
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <string.h>
Index: WINGs/tree.c
===================================================================
--- WINGs/tree.c.orig
+++ WINGs/tree.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <string.h>
#include "WUtil.h"
Index: WINGs/userdefaults.c
===================================================================
--- WINGs/userdefaults.c.orig
+++ WINGs/userdefaults.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <string.h>
#include <strings.h>
Index: WINGs/usleep.c
===================================================================
--- WINGs/usleep.c.orig
+++ WINGs/usleep.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <errno.h>
#include <time.h>
Index: WINGs/wapplication.c
===================================================================
--- WINGs/wapplication.c.orig
+++ WINGs/wapplication.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
#include <X11/Xlocale.h>
Index: WINGs/wappresource.c
===================================================================
--- WINGs/wappresource.c.orig
+++ WINGs/wappresource.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <unistd.h>
#include "WINGsP.h"
Index: WINGs/wballoon.c
===================================================================
--- WINGs/wballoon.c.orig
+++ WINGs/wballoon.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include "WINGsP.h"
Index: WINGs/wbox.c
===================================================================
--- WINGs/wbox.c.orig
+++ WINGs/wbox.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
typedef struct {
Index: WINGs/wbrowser.c
===================================================================
--- WINGs/wbrowser.c.orig
+++ WINGs/wbrowser.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include <math.h> /* for : double rint (double) */
Index: WINGs/wbutton.c
===================================================================
--- WINGs/wbutton.c.orig
+++ WINGs/wbutton.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
typedef struct W_Button {
Index: WINGs/wcolor.c
===================================================================
--- WINGs/wcolor.c.orig
+++ WINGs/wcolor.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include "wconfig.h"
Index: WINGs/wcolorpanel.c
===================================================================
--- WINGs/wcolorpanel.c.orig
+++ WINGs/wcolorpanel.c
@@ -23,6 +23,10 @@
* - Resizing
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include "WINGsP.h"
#include "rgb.h"
Index: WINGs/wcolorwell.c
===================================================================
--- WINGs/wcolorwell.c.orig
+++ WINGs/wcolorwell.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#define XDND_COLOR_DATA_TYPE "application/X-color"
Index: WINGs/wevent.c
===================================================================
--- WINGs/wevent.c.orig
+++ WINGs/wevent.c
@@ -3,6 +3,10 @@
* This event handling stuff was inspired on Tk.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
/* table to map event types to event masks */
Index: WINGs/wfilepanel.c
===================================================================
--- WINGs/wfilepanel.c.orig
+++ WINGs/wfilepanel.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
Index: WINGs/wfont.c
===================================================================
--- WINGs/wfont.c.orig
+++ WINGs/wfont.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include "wconfig.h"
Index: WINGs/wfontpanel.c
===================================================================
--- WINGs/wfontpanel.c.orig
+++ WINGs/wfontpanel.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include "WUtil.h"
#include "wconfig.h"
Index: WINGs/wframe.c
===================================================================
--- WINGs/wframe.c.orig
+++ WINGs/wframe.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
typedef struct W_Frame {
Index: WINGs/widgets.c
===================================================================
--- WINGs/widgets.c.orig
+++ WINGs/widgets.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include "wconfig.h"
Index: WINGs/winputmethod.c
===================================================================
--- WINGs/winputmethod.c.orig
+++ WINGs/winputmethod.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/Xlib.h>
#include "wconfig.h"
Index: WINGs/wlabel.c
===================================================================
--- WINGs/wlabel.c.orig
+++ WINGs/wlabel.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
typedef struct W_Label {
Index: WINGs/wlist.c
===================================================================
--- WINGs/wlist.c.orig
+++ WINGs/wlist.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
const char *WMListDidScrollNotification = "WMListDidScrollNotification";
Index: WINGs/wmenuitem.c
===================================================================
--- WINGs/wmenuitem.c.orig
+++ WINGs/wmenuitem.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
typedef struct W_MenuItem {
Index: WINGs/wmisc.c
===================================================================
--- WINGs/wmisc.c.orig
+++ WINGs/wmisc.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include <wraster.h>
Index: WINGs/wpanel.c
===================================================================
--- WINGs/wpanel.c.orig
+++ WINGs/wpanel.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include <X11/keysym.h>
Index: WINGs/wpixmap.c
===================================================================
--- WINGs/wpixmap.c.orig
+++ WINGs/wpixmap.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include <wraster.h>
Index: WINGs/wpopupbutton.c
===================================================================
--- WINGs/wpopupbutton.c.orig
+++ WINGs/wpopupbutton.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
typedef struct W_PopUpButton {
Index: WINGs/wprogressindicator.c
===================================================================
--- WINGs/wprogressindicator.c.orig
+++ WINGs/wprogressindicator.c
@@ -5,6 +5,10 @@
* - centralized drawing into one pain function
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
typedef struct W_ProgressIndicator {
Index: WINGs/wruler.c
===================================================================
--- WINGs/wruler.c.orig
+++ WINGs/wruler.c
@@ -19,6 +19,10 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include "wconfig.h"
Index: WINGs/wscroller.c
===================================================================
--- WINGs/wscroller.c.orig
+++ WINGs/wscroller.c
@@ -7,6 +7,10 @@
# undef _XOPEN_SOURCE
#endif
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include <math.h>
Index: WINGs/wscrollview.c
===================================================================
--- WINGs/wscrollview.c.orig
+++ WINGs/wscrollview.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
typedef struct W_ScrollView {
Index: WINGs/wslider.c
===================================================================
--- WINGs/wslider.c.orig
+++ WINGs/wslider.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#undef STRICT_NEXT_BEHAVIOUR
Index: WINGs/wsplitview.c
===================================================================
--- WINGs/wsplitview.c.orig
+++ WINGs/wsplitview.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
/*
Index: WINGs/wtabview.c
===================================================================
--- WINGs/wtabview.c.orig
+++ WINGs/wtabview.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
typedef struct W_TabView {
Index: WINGs/wtext.c
===================================================================
--- WINGs/wtext.c.orig
+++ WINGs/wtext.c
@@ -1,6 +1,10 @@
/* WINGs WMText: multi-line/font/color/graphic text widget, by Nwanua. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include <ctype.h>
#include <X11/keysym.h>
Index: WINGs/wtextfield.c
===================================================================
--- WINGs/wtextfield.c.orig
+++ WINGs/wtextfield.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include "wconfig.h"
Index: WINGs/wutil.c
===================================================================
--- WINGs/wutil.c.orig
+++ WINGs/wutil.c
@@ -3,6 +3,10 @@
* Handle events for non-GUI based applications
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
void WHandleEvents(void)
Index: WINGs/wview.c
===================================================================
--- WINGs/wview.c.orig
+++ WINGs/wview.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WINGsP.h"
#include <X11/Xresource.h>
Index: WINGs/wwindow.c
===================================================================
--- WINGs/wwindow.c.orig
+++ WINGs/wwindow.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/Xmd.h>
#include "wconfig.h"
Index: WPrefs.app/Appearance.c
===================================================================
--- WPrefs.app/Appearance.c.orig
+++ WPrefs.app/Appearance.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
#include <unistd.h>
Index: WPrefs.app/Configurations.c
===================================================================
--- WPrefs.app/Configurations.c.orig
+++ WPrefs.app/Configurations.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
typedef struct _Panel {
Index: WPrefs.app/Expert.c
===================================================================
--- WPrefs.app/Expert.c.orig
+++ WPrefs.app/Expert.c
@@ -21,6 +21,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
/* This structure containts the list of all the check-buttons to display in the
Index: WPrefs.app/Focus.c
===================================================================
--- WPrefs.app/Focus.c.orig
+++ WPrefs.app/Focus.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
typedef struct _Panel {
Index: WPrefs.app/FontSimple.c
===================================================================
--- WPrefs.app/FontSimple.c.orig
+++ WPrefs.app/FontSimple.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
#include <unistd.h>
#include <fontconfig/fontconfig.h>
Index: WPrefs.app/Icons.c
===================================================================
--- WPrefs.app/Icons.c.orig
+++ WPrefs.app/Icons.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
Index: WPrefs.app/KeyboardSettings.c
===================================================================
--- WPrefs.app/KeyboardSettings.c.orig
+++ WPrefs.app/KeyboardSettings.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
typedef struct _Panel {
Index: WPrefs.app/Menu.c
===================================================================
--- WPrefs.app/Menu.c.orig
+++ WPrefs.app/Menu.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
#include <assert.h>
#include <ctype.h>
Index: WPrefs.app/MenuPreferences.c
===================================================================
--- WPrefs.app/MenuPreferences.c.orig
+++ WPrefs.app/MenuPreferences.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
typedef struct _Panel {
Index: WPrefs.app/MouseSettings.c
===================================================================
--- WPrefs.app/MouseSettings.c.orig
+++ WPrefs.app/MouseSettings.c
@@ -20,6 +20,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
#include <X11/Xutil.h>
Index: WPrefs.app/Paths.c
===================================================================
--- WPrefs.app/Paths.c.orig
+++ WPrefs.app/Paths.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
#include <unistd.h>
#include <assert.h>
Index: WPrefs.app/Preferences.c
===================================================================
--- WPrefs.app/Preferences.c.orig
+++ WPrefs.app/Preferences.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
Index: WPrefs.app/TexturePanel.c
===================================================================
--- WPrefs.app/TexturePanel.c.orig
+++ WPrefs.app/TexturePanel.c
@@ -20,6 +20,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Index: WPrefs.app/Themes.c
===================================================================
--- WPrefs.app/Themes.c.orig
+++ WPrefs.app/Themes.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
#include <unistd.h>
Index: WPrefs.app/WPrefs.c
===================================================================
--- WPrefs.app/WPrefs.c.orig
+++ WPrefs.app/WPrefs.c
@@ -21,6 +21,10 @@
#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
#include <assert.h>
Index: WPrefs.app/WindowHandling.c
===================================================================
--- WPrefs.app/WindowHandling.c.orig
+++ WPrefs.app/WindowHandling.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
typedef struct _Panel {
Index: WPrefs.app/Workspace.c
===================================================================
--- WPrefs.app/Workspace.c.orig
+++ WPrefs.app/Workspace.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
typedef struct _Panel {
Index: WPrefs.app/double.c
===================================================================
--- WPrefs.app/double.c.orig
+++ WPrefs.app/double.c
@@ -4,6 +4,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <WINGs/WINGsP.h>
#include "WPrefs.h"
Index: WPrefs.app/editmenu.c
===================================================================
--- WPrefs.app/editmenu.c.orig
+++ WPrefs.app/editmenu.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <WINGs/WINGsP.h>
#include <WINGs/WUtil.h>
#include <stdlib.h>
Index: WPrefs.app/main.c
===================================================================
--- WPrefs.app/main.c.orig
+++ WPrefs.app/main.c
@@ -20,6 +20,10 @@
#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "WPrefs.h"
#include <assert.h>
Index: WPrefs.app/xmodifier.c
===================================================================
--- WPrefs.app/xmodifier.c.orig
+++ WPrefs.app/xmodifier.c
@@ -31,6 +31,10 @@ Perpetrator: Sudish Joseph <sj@eng.minds
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301 USA. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <string.h>
#include <strings.h>
#include <X11/Xlib.h>
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -94,7 +94,9 @@ AC_SUBST(WUTIL_VERSION)
dnl Checks for programs
dnl ===================
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
+AC_SYS_LARGEFILE
WM_PROG_CC_C11
AC_PROG_LN_S
AC_PROG_GCC_TRADITIONAL
Index: src/actions.c
===================================================================
--- src/actions.c.orig
+++ src/actions.c
@@ -21,6 +21,10 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/appicon.c
===================================================================
--- src/appicon.c.orig
+++ src/appicon.c
@@ -20,6 +20,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/application.c
===================================================================
--- src/application.c.orig
+++ src/application.c
@@ -18,6 +18,10 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/appmenu.c
===================================================================
--- src/appmenu.c.orig
+++ src/appmenu.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/balloon.c
===================================================================
--- src/balloon.c.orig
+++ src/balloon.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#ifdef BALLOON_TEXT
Index: src/client.c
===================================================================
--- src/client.c.orig
+++ src/client.c
@@ -17,6 +17,10 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/colormap.c
===================================================================
--- src/colormap.c.orig
+++ src/colormap.c
@@ -23,6 +23,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include "WindowMaker.h"
Index: src/cycling.c
===================================================================
--- src/cycling.c.orig
+++ src/cycling.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdlib.h>
Index: src/defaults.c
===================================================================
--- src/defaults.c.orig
+++ src/defaults.c
@@ -22,6 +22,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdio.h>
Index: src/dialog.c
===================================================================
--- src/dialog.c.orig
+++ src/dialog.c
@@ -21,6 +21,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/dock.c
===================================================================
--- src/dock.c.orig
+++ src/dock.c
@@ -21,6 +21,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/dockedapp.c
===================================================================
--- src/dockedapp.c.orig
+++ src/dockedapp.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/event.c
===================================================================
--- src/event.c.orig
+++ src/event.c
@@ -20,6 +20,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#ifdef HAVE_INOTIFY
Index: src/framewin.c
===================================================================
--- src/framewin.c.orig
+++ src/framewin.c
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/geomview.c
===================================================================
--- src/geomview.c.orig
+++ src/geomview.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <WINGs/WINGsP.h>
#include "geomview.h"
Index: src/icon.c
===================================================================
--- src/icon.c.orig
+++ src/icon.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/main.c
===================================================================
--- src/main.c.orig
+++ src/main.c
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#ifdef HAVE_INOTIFY
Index: src/menu.c
===================================================================
--- src/menu.c.orig
+++ src/menu.c
@@ -20,6 +20,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/misc.c
===================================================================
--- src/misc.c.orig
+++ src/misc.c
@@ -17,6 +17,10 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/monitor.c
===================================================================
--- src/monitor.c.orig
+++ src/monitor.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <unistd.h>
#include <stdlib.h>
Index: src/motif.c
===================================================================
--- src/motif.c.orig
+++ src/motif.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/moveres.c
===================================================================
--- src/moveres.c.orig
+++ src/moveres.c
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/osdep_bsd.c
===================================================================
--- src/osdep_bsd.c.orig
+++ src/osdep_bsd.c
@@ -11,6 +11,10 @@
#else /* OPENBSD || NETBSD */
# include <sys/param.h>
#endif
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/sysctl.h>
#include <assert.h>
Index: src/osdep_darwin.c
===================================================================
--- src/osdep_darwin.c.orig
+++ src/osdep_darwin.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/sysctl.h>
Index: src/osdep_linux.c
===================================================================
--- src/osdep_linux.c.orig
+++ src/osdep_linux.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
Index: src/osdep_stub.c
===================================================================
--- src/osdep_stub.c.orig
+++ src/osdep_stub.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/utsname.h>
#include <WINGs/WUtil.h>
Index: src/pixmap.c
===================================================================
--- src/pixmap.c.orig
+++ src/pixmap.c
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/placement.c
===================================================================
--- src/placement.c.orig
+++ src/placement.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/properties.c
===================================================================
--- src/properties.c.orig
+++ src/properties.c
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/resources.c
===================================================================
--- src/resources.c.orig
+++ src/resources.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdio.h>
Index: src/rootmenu.c
===================================================================
--- src/rootmenu.c.orig
+++ src/rootmenu.c
@@ -21,6 +21,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdio.h>
Index: src/screen.c
===================================================================
--- src/screen.c.orig
+++ src/screen.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdio.h>
Index: src/session.c
===================================================================
--- src/session.c.orig
+++ src/session.c
@@ -57,6 +57,10 @@
* if the Die message is received, exit.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/shutdown.c
===================================================================
--- src/shutdown.c.orig
+++ src/shutdown.c
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdlib.h>
Index: src/stacking.c
===================================================================
--- src/stacking.c.orig
+++ src/stacking.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdio.h>
Index: src/startup.c
===================================================================
--- src/startup.c.orig
+++ src/startup.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdio.h>
Index: src/superfluous.c
===================================================================
--- src/superfluous.c.orig
+++ src/superfluous.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/switchmenu.c
===================================================================
--- src/switchmenu.c.orig
+++ src/switchmenu.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdio.h>
Index: src/switchpanel.c
===================================================================
--- src/switchpanel.c.orig
+++ src/switchpanel.c
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdint.h>
Index: src/texture.c
===================================================================
--- src/texture.c.orig
+++ src/texture.c
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/usermenu.c
===================================================================
--- src/usermenu.c.orig
+++ src/usermenu.c
@@ -56,6 +56,10 @@
*
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#ifdef USER_MENU
Index: src/wcore.c
===================================================================
--- src/wcore.c.orig
+++ src/wcore.c
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/wdefaults.c
===================================================================
--- src/wdefaults.c.orig
+++ src/wdefaults.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdio.h>
Index: src/window.c
===================================================================
--- src/window.c.orig
+++ src/window.c
@@ -20,6 +20,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/winmenu.c
===================================================================
--- src/winmenu.c.orig
+++ src/winmenu.c
@@ -19,6 +19,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <stdio.h>
Index: src/winspector.c
===================================================================
--- src/winspector.c.orig
+++ src/winspector.c
@@ -20,6 +20,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/wmspec.c
===================================================================
--- src/wmspec.c.orig
+++ src/wmspec.c
@@ -28,6 +28,10 @@
* return to be Success is not enough. -Dan
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/workspace.c
===================================================================
--- src/workspace.c.orig
+++ src/workspace.c
@@ -18,6 +18,10 @@
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <X11/Xlib.h>
Index: src/xinerama.c
===================================================================
--- src/xinerama.c.orig
+++ src/xinerama.c
@@ -20,6 +20,10 @@
#include <stdlib.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include "xinerama.h"
Index: src/xmodifier.c
===================================================================
--- src/xmodifier.c.orig
+++ src/xmodifier.c
@@ -27,6 +27,10 @@ Perpetrator: Sudish Joseph <sj@eng.minds
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301 USA. */
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wconfig.h"
#include <string.h>
Index: src/xutil.c
===================================================================
--- src/xutil.c.orig
+++ src/xutil.c
@@ -19,6 +19,10 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/Xlib.h>
#include <stdlib.h>
#include <X11/Xutil.h>
Index: test/notest.c
===================================================================
--- test/notest.c.orig
+++ test/notest.c
@@ -3,6 +3,10 @@
* TODO: remake
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <X11/Xlib.h>
#include <X11/Xutil.h>
Index: test/wtest.c
===================================================================
--- test/wtest.c.orig
+++ test/wtest.c
@@ -10,6 +10,10 @@
#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <X11/Xlib.h>
Index: util/convertfonts.c
===================================================================
--- util/convertfonts.c.orig
+++ util/convertfonts.c
@@ -25,6 +25,10 @@
#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/stat.h>
#include <getopt.h>
Index: util/fontconv.c
===================================================================
--- util/fontconv.c.orig
+++ util/fontconv.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Index: util/geticonset.c
===================================================================
--- util/geticonset.c.orig
+++ util/geticonset.c
@@ -25,6 +25,10 @@
#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
Index: util/getstyle.c
===================================================================
--- util/getstyle.c.orig
+++ util/getstyle.c
@@ -25,6 +25,10 @@
#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
Index: util/seticons.c
===================================================================
--- util/seticons.c.orig
+++ util/seticons.c
@@ -25,6 +25,10 @@
#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
Index: util/setstyle.c
===================================================================
--- util/setstyle.c.orig
+++ util/setstyle.c
@@ -25,6 +25,10 @@
#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/stat.h>
#include <getopt.h>
Index: util/wdread.c
===================================================================
--- util/wdread.c.orig
+++ util/wdread.c
@@ -29,6 +29,10 @@
*/
#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <getopt.h>
#include <limits.h>
#include <stdio.h>
Index: util/wdwrite.c
===================================================================
--- util/wdwrite.c.orig
+++ util/wdwrite.c
@@ -28,6 +28,10 @@
*/
#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <getopt.h>
#include <limits.h>
#include <stdio.h>
Index: util/wmagnify.c
===================================================================
--- util/wmagnify.c.orig
+++ util/wmagnify.c
@@ -7,6 +7,10 @@
*/
#include <config.h>
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/Xproto.h>
#include <WINGs/WINGs.h>
Index: util/wmgenmenu.c
===================================================================
--- util/wmgenmenu.c.orig
+++ util/wmgenmenu.c
@@ -6,6 +6,10 @@
#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <ctype.h>
#include <getopt.h>
#include <limits.h>
Index: util/wmmenugen.c
===================================================================
--- util/wmmenugen.c.orig
+++ util/wmmenugen.c
@@ -18,6 +18,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
Index: util/wmmenugen_misc.c
===================================================================
--- util/wmmenugen_misc.c.orig
+++ util/wmmenugen_misc.c
@@ -20,6 +20,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <libgen.h>
#include <stdlib.h>
#include <string.h>
Index: util/wmmenugen_parse_wmconfig.c
===================================================================
--- util/wmmenugen_parse_wmconfig.c.orig
+++ util/wmmenugen_parse_wmconfig.c
@@ -20,6 +20,10 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
Index: util/wmmenugen_parse_xdg.c
===================================================================
--- util/wmmenugen_parse_xdg.c.orig
+++ util/wmmenugen_parse_xdg.c
@@ -36,6 +36,10 @@
* Basic validation of the .desktop file is done.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <sys/types.h>
#include <sys/stat.h>
Index: util/wxcopy.c
===================================================================
--- util/wxcopy.c.orig
+++ util/wxcopy.c
@@ -18,6 +18,10 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Index: wmlib/app.c
===================================================================
--- wmlib/app.c.orig
+++ wmlib/app.c
@@ -20,6 +20,10 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/Xlib.h>
#include <stdlib.h>
#include <string.h>
Index: wmlib/command.c
===================================================================
--- wmlib/command.c.orig
+++ wmlib/command.c
@@ -20,6 +20,10 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/Xlib.h>
#include <stdlib.h>
Index: wmlib/event.c
===================================================================
--- wmlib/event.c.orig
+++ wmlib/event.c
@@ -20,6 +20,10 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <X11/Xlib.h>
Index: wmlib/menu.c
===================================================================
--- wmlib/menu.c.orig
+++ wmlib/menu.c
@@ -20,6 +20,10 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
Index: wrlib/alpha_combine.c
===================================================================
--- wrlib/alpha_combine.c.orig
+++ wrlib/alpha_combine.c
@@ -20,6 +20,10 @@
#include "config.h"
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include "wraster.h"
#include "wr_i18n.h"
Index: wrlib/tests/testdraw.c
===================================================================
--- wrlib/tests/testdraw.c.orig
+++ wrlib/tests/testdraw.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/Xlib.h>
#include "wraster.h"
#include <stdio.h>
Index: wrlib/tests/testgrad.c
===================================================================
--- wrlib/tests/testgrad.c.orig
+++ wrlib/tests/testgrad.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/Xlib.h>
#include "wraster.h"
#include <stdio.h>
Index: wrlib/tests/testrot.c
===================================================================
--- wrlib/tests/testrot.c.orig
+++ wrlib/tests/testrot.c
@@ -1,4 +1,8 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/Xlib.h>
#include "wraster.h"
#include <stdlib.h>
Index: wrlib/tests/view.c
===================================================================
--- wrlib/tests/view.c.orig
+++ wrlib/tests/view.c
@@ -1,3 +1,7 @@
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <X11/Xlib.h>
#include "wraster.h"
#include <stdlib.h>
Index: src/xdnd.c
===================================================================
--- src/xdnd.c.orig
+++ src/xdnd.c
@@ -20,7 +20,9 @@
/* Many part of code are ripped of an example from JX's site */
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
#include <stdlib.h>
#include <stdio.h>