Ales Katona wrote:
This patch fixes compilation of gdk2x11 package. Apply from dir with gdk2x11.pas

For author: never ever use libc. Use Unix, BaseUnix units.

If libc is removed, why is there still a {$ifdef FREEBSD}{$linklib c} needed ?

Marc



Ales


------------------------------------------------------------------------

Index: gdk2x.pas
===================================================================
--- gdk2x.pas   (revision 8557)
+++ gdk2x.pas   (working copy)
@@ -25,7 +25,7 @@
 interface
uses
-  Classes, SysUtils, libc, glib2, gdk2, xlib, x, xrender;
+  Classes, SysUtils, Unix, BaseUnix, glib2, gdk2, xlib, x, xrender;
{$ifdef FREEBSD}
   {$linklib c}

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to