diff -urN licq.orig/src/gpg.cpp licq/src/gpg.cpp
--- licq.orig/src/gpg.cpp	2005-01-09 10:02:39.000000000 +0100
+++ licq/src/gpg.cpp	2005-01-09 10:01:53.000000000 +0100
@@ -5,6 +5,7 @@
 
 #include <stdio.h>
 #include <string.h>
+#include <unistd.h>
 
 #include "licq_file.h"
 #include "licq_gpg.h"
