chiark / gitweb /
Sockets all seem to work now erm.
[chiark-tcl.git] / base / chiark-tcl.h
index 951ae12ee3e5d28889ceacab9bb84dcf15ef89a3..37697bb7dfa7e3db01cf061d99c2afbcc3148d7c 100644 (file)
@@ -32,6 +32,7 @@
 #include <unistd.h>
 #include <fcntl.h>
 #include <sys/socket.h>
+#include <sys/uio.h>
 #include <sys/un.h>
 #include <arpa/inet.h>
 
@@ -113,6 +114,7 @@ void sockaddr_free(const SockAddr_Value*);
 /* from dgram.c */
 
 extern Tcl_ObjType sockid_type;
+typedef struct DgramSocket *DgramSockID;
 
 /* from hook.c */
 
@@ -168,7 +170,7 @@ typedef struct {
   int pad, use_algname;
 } PadMethod;
 
-Tcl_ObjType blockcipherkey_type;
+extern Tcl_ObjType blockcipherkey_type;
 
 /* from algtables.c */