Ticket #358: compface-1.4-errno.patch

File compface-1.4-errno.patch, 631 bytes (added by tushar@…, 21 years ago)

errno patch

Line 
1diff -Naur compface-1.4/cmain.c compface-1.4.1/cmain.c
2--- compface-1.4/cmain.c 2000-11-23 00:51:03.000000000 +0000
3+++ compface-1.4.1/cmain.c 2003-09-25 09:59:44.000000000 +0100
4@@ -26,6 +26,10 @@
5 extern char *malloc ();
6 #endif /* STDC_HEADERS */
7
8+#include <errno.h>
9+
10 #ifdef HAVE_FCNTL_H
11 #include <fcntl.h>
12 #endif
13diff -Naur compface-1.4/uncmain.c compface-1.4.1/uncmain.c
14--- compface-1.4/uncmain.c 2000-11-23 00:51:24.000000000 +0000
15+++ compface-1.4.1/uncmain.c 2003-09-25 10:00:08.000000000 +0100
16@@ -19,6 +19,10 @@
17 #include "config.h"
18 #endif
19
20+#include <errno.h>
21+
22 #ifdef HAVE_FCNTL_H
23 #include <fcntl.h>
24 #endif