diff -u xfaces-3.3/mail_box.c xfaces-3.3/mail_box.c
--- xfaces-3.3/mail_box.c
+++ xfaces-3.3/mail_box.c
@@ -33,6 +33,8 @@
  * 	Routines to parse the mail file.
 */
 
+#include <stdlib.h>
+
 #ifndef lint
 static char *RCSid = "$Id: mail_box.c,v 1.2 1994/02/23 13:17:02 liebman Exp $";
 #endif
diff -u xfaces-3.3/main.c xfaces-3.3/main.c
--- xfaces-3.3/main.c
+++ xfaces-3.3/main.c
@@ -72,6 +72,7 @@
 #ifdef __STDC__
 #include <stdlib.h>
 #endif
+#include <unistd.h>
 
 /*
  * The resources.
diff -u xfaces-3.3/pop_check.c xfaces-3.3/pop_check.c
--- xfaces-3.3/pop_check.c
+++ xfaces-3.3/pop_check.c
@@ -45,6 +45,8 @@
 #include <sys/socket.h>
 #include <netinet/in.h>
 #include <netdb.h>
+#include <unistd.h>
+#include <arpa/inet.h>
 
 FILE*	input = NULL;
 FILE*	output = NULL;
only in patch2:
unchanged:
--- xfaces-3.3.orig/cmd_check.c
+++ xfaces-3.3/cmd_check.c
@@ -42,6 +42,7 @@
 
 #include "faces.h"
 #include <sys/stat.h>
+#include <stdlib.h>
 
 static char*	buffer = NULL;
 static int	buffer_size = 0;
only in patch2:
unchanged:
--- xfaces-3.3.orig/face_binding.c
+++ xfaces-3.3/face_binding.c
@@ -57,6 +57,7 @@
 #endif
 
 #include "faces.h"
+#include <stdlib.h>
 
 
 /*
only in patch2:
unchanged:
--- xfaces-3.3.orig/face_command.c
+++ xfaces-3.3/face_command.c
@@ -43,6 +43,7 @@
 #include "faces.h"
 #include "face_command.h"
 #include "face_search.h"
+#include <stdlib.h>
 
 static FaceCommand* TheCommands;
 
only in patch2:
unchanged:
--- xfaces-3.3.orig/face_image_xface.c
+++ xfaces-3.3/face_image_xface.c
@@ -40,6 +40,7 @@
 static char *RCSid = "$Id: face_image_xface.c,v 1.3 1994/02/23 13:17:02 liebman Exp $";
 #endif
 
+#include <compface.h>
 #include "faces.h"
 #include "face_image.h"
 
only in patch2:
unchanged:
--- xfaces-3.3.orig/path.c
+++ xfaces-3.3/path.c
@@ -42,6 +42,7 @@
 
 #include "faces.h"
 #include <sys/stat.h>
+#include <unistd.h>
 
 char**
 PathParse(str)
only in patch2:
unchanged:
--- xfaces-3.3.orig/regexp.c
+++ xfaces-3.3/regexp.c
@@ -23,6 +23,8 @@
  * regular-expression syntax might require a total rethink.
  */
 #include <stdio.h>
+#include <string.h>
+
 #include "regexp.h"
 #include "regmagic.h"
 
