Fixed last bugs to make the C64 targets c64 and programs work again.
diff --git a/contiki-c64/Makefile.programs b/contiki-c64/Makefile.programs
index 0ec7fac..2924143 100644
--- a/contiki-c64/Makefile.programs
+++ b/contiki-c64/Makefile.programs
@@ -27,7 +27,7 @@
 #
 # This file is part of the Contiki desktop environment
 #
-# $Id: Makefile.programs,v 1.41 2005/05/07 14:30:02 oliverschmidt Exp $
+# $Id: Makefile.programs,v 1.42 2005/05/07 14:36:47 oliverschmidt Exp $
 #
 
 all: loader-arch-module.o loader-arch-module-dsc.o contiki-labels.o \
@@ -98,7 +98,7 @@
 
 irc.prg: $(IRC) lc-asm.o
 
-cgterm.prg: cgterm.o socket.o uipbuf.o lc-asm.o
+cgterm.prg: cgterm.o psock.o uipbuf.o lc-asm.o
 
 dhcp.prg: $(DHCP) lc-asm.o
 
diff --git a/contiki-c64/apps/cgterm.c b/contiki-c64/apps/cgterm.c
index 81ae433..2bcb491 100644
--- a/contiki-c64/apps/cgterm.c
+++ b/contiki-c64/apps/cgterm.c
@@ -7,7 +7,7 @@
 #include <string.h>
 
 static struct {
-  struct socket sout, sin;
+  struct psock sout, sin;
   struct pt inpt, outpt;
   char outputbuf[200];
   char inputbuf[200];