Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/japanese/edict/files/patch-xjdclient.c
16461 views
1
--- xjdclient.c.orig 2024-09-30 19:41:16.980011000 +0100
2
+++ xjdclient.c 2024-09-30 19:42:00.456457000 +0100
3
@@ -26,6 +26,7 @@
4
5
#include <stdio.h>
6
#include <ctype.h>
7
+#include <errno.h>
8
#include <string.h>
9
#include <sys/types.h>
10
#include <sys/socket.h>
11
@@ -40,7 +41,6 @@
12
13
#define CVERBOSE 0
14
int chk_cnt=0;
15
-extern int errno;
16
unsigned char host[51] = {"localhost"};
17
unsigned char yn[2];
18
unsigned int portno = XJ_PORTNO;
19
20