[Vm-dev] sqUnixFileDialog.c has an include problem.

Bruce O'Neel bruce.oneel at pckswarms.ch
Sun Feb 13 09:55:21 UTC 2022


Hi,

sqUnixFileDialog.c is now added as an internal plugin, and, that
triggers an include file problem.  I *think* that it is only on unix
because of the file name.

This patch works, but, alas, I can only test on linuxes of various
sorts so think of it as a proposed patch.

Clearly remove the BEO mouse droppings before you apply it.  I just
wanted to keep things clear in my head what I was doing.

Thanks.

bruce

diff --git
a/platforms/unix/plugins/FileDialogPlugin/sqUnixFileDialog.c
b/platforms/unix/plugins/FileDialogPlugin/sqUnixFileDialog.c

index 16fae9b37..d973b0b52 100644

--- a/platforms/unix/plugins/FileDialogPlugin/sqUnixFileDialog.c

+++ b/platforms/unix/plugins/FileDialogPlugin/sqUnixFileDialog.c

@@ -20,6 +20,9 @@

  *

  * This is a shell that only implements fileDialogGetLocation

  */

+

+/* BEO Old

+

#include <stdlib.h>

#include <stdio.h>

#include <sys/stat.h>

@@ -28,6 +31,21 @@

#include "sqConfig.h"

#include "sqPlatformSpecific.h"

#include "FileDialogPlugin.h"

+ */

+

+/* BEO New */

+

+#include "sq.h"

+#include "sqVirtualMachine.h"

+#include "FileDialogPlugin.h"

+#include "sqUnixCharConv.h"

+

+

+#include <stdlib.h>

+#include <stdio.h>

+#include <sys/stat.h>

+

+/* BEO done */

extern struct VirtualMachine *interpreterProxy; /*
signalSemaphoreWithIndex */


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220213/5d8f5452/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sqfiledialog.diff
Type: application/octet-stream
Size: 876 bytes
Desc: not available
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20220213/5d8f5452/attachment.obj>


More information about the Vm-dev mailing list