Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/comms/echolinux/files/patch-echogui_testgui__main.c
16461 views
1
--- echogui/testgui_main.c.orig 2006-02-24 20:23:37 UTC
2
+++ echogui/testgui_main.c
3
@@ -13,10 +13,10 @@ $Log$
4
#include <sys/types.h>
5
#include <sys/time.h>
6
#include <unistd.h>
7
-#include <linux/soundcard.h>
8
+#include <sys/soundcard.h>
9
#include <sys/ioctl.h>
10
#include <fcntl.h>
11
-#include <X11/forms.h>
12
+#include <forms.h>
13
#include <string.h>
14
#include <math.h>
15
#include <pthread.h>
16
@@ -33,6 +33,7 @@ extern int atClose(FL_FORM *, void *);
17
extern void dblNodeList(FL_OBJECT *, long);
18
extern void getlist(FL_OBJECT *, long);
19
extern int searchClose(FL_FORM *, void *);
20
+extern int serverInit();
21
22
FILE *gpfd;
23
24
@@ -111,7 +112,7 @@ int main(int argc, char *argv[])
25
close(controlInPipe[1]);
26
close(controlInPipe[0]);
27
28
- execlp("echolinux", "echolinux", 0, 0);
29
+ execlp("echolinux", "echolinux", 0, NULL);
30
printf("We didn't execute execlp().\n");
31
}
32
}
33
34