Ticket #38844: patch-no-x11h.diff

File patch-no-x11h.diff, 843 bytes (added by irony42@…, 12 years ago)
  • generic/tk.h

    old new  
    6868#ifndef RC_INVOKED
    6969
    7070#ifndef _XLIB_H
    71 #   include <X11/Xlib.h>
    72 #   ifdef MAC_OSX_TK
    73 #       include <X11/X.h>
    74 #   endif
     71#   include <tkX11Xlib.h>
    7572#endif
    7673#ifdef __STDC__
    7774#   include <stddef.h>
  • unix/Makefile.in

    old new  
    553553# Currently private, eventually public
    554554TTK_HDRS = $(TTK_DIR)/ttkTheme.h $(TTK_DIR)/ttkDecls.h
    555555
    556 PUBLIC_HDRS = $(GENERIC_DIR)/tk.h $(GENERIC_DIR)/tkDecls.h \
     556PUBLIC_HDRS = $(GENERIC_DIR)/tk.h $(GENERIC_DIR)/tkDecls.h $(GENERIC_DIR)/tkX11Xlib.h \
    557557        $(GENERIC_DIR)/tkPlatDecls.h $(@TK_WINDOWINGSYSTEM@_HDRS)
    558558
    559559# The private headers we want installed for install-private-headers