1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-21 08:42:23 +00:00
freebsd-ports/comms/echolinux/files/patch-echogui_testgui__cb.c
Diane Bruce f34877a202 - Renamed bogus patch names
- Make build under clang11
- Fixed bogus /etc dir reference
- pet portlint
2020-08-24 14:53:12 +00:00

30 lines
668 B
C

--- echogui/testgui_cb.c.orig 2006-02-24 19:28:15 UTC
+++ echogui/testgui_cb.c
@@ -8,13 +8,16 @@ $Log$
****************************/
+#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include <sys/wait.h>
+#include <sys/time.h>
#include <sys/types.h>
-#include <linux/soundcard.h>
+#include <sys/soundcard.h>
#include <sys/ioctl.h>
#include <fcntl.h>
-#include <X11/forms.h>
+#include <forms.h>
#include <math.h>
#include <signal.h>
#include <pthread.h>
@@ -429,6 +432,7 @@ int searchClose(FL_FORM *form, void *data){
// puts("In searchclose()");
fl_hide_form(fd_searchForm->searchForm);
+ return (0);
}
/**********************/