include <errno.h> not <sys/errno.h>

This commit is contained in:
pvalchev 2005-12-24 08:20:40 +00:00
parent cdc907cc24
commit 3e01d73d3e
4 changed files with 48 additions and 9 deletions

View File

@ -1,6 +1,15 @@
$OpenBSD: patch-com_gw_c,v 1.1 2001/11/27 10:06:50 form Exp $
--- com_gw.c.orig Fri Feb 9 06:34:55 2001
+++ com_gw.c Tue Nov 27 15:37:43 2001
$OpenBSD: patch-com_gw_c,v 1.2 2005/12/24 08:20:40 pvalchev Exp $
--- com_gw.c.orig Thu Feb 8 17:34:55 2001
+++ com_gw.c Fri Dec 23 23:43:42 2005
@@ -9,7 +9,7 @@
#endif
#include <sys/types.h>
#include <sys/time.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
@@ -169,7 +169,7 @@ simpleServerPipe(int netfd, encoding *en
int cnt = 0; \
while(cnt < ENTLEN && *from && *from!=';' && !isspace(*from)) \

View File

@ -1,6 +1,15 @@
$OpenBSD: patch-http_gw_c,v 1.1 2001/11/27 10:06:50 form Exp $
--- http_gw.c.orig Fri Feb 9 07:33:04 2001
+++ http_gw.c Tue Nov 27 15:37:42 2001
$OpenBSD: patch-http_gw_c,v 1.2 2005/12/24 08:20:40 pvalchev Exp $
--- http_gw.c.orig Thu Feb 8 18:33:04 2001
+++ http_gw.c Fri Dec 23 23:45:13 2005
@@ -13,7 +13,7 @@
#include <syslog.h>
#include <stdlib.h>
#include <stdio.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <stdarg.h>
#include <unistd.h>
#ifdef _AIX
@@ -344,8 +344,6 @@ http_response(int netfd,encoding *enc)
char *p = strstr(buf,"charset=");
if(p)

View File

@ -1,6 +1,15 @@
$OpenBSD: patch-readconf_c,v 1.1 2004/01/04 23:37:27 espie Exp $
--- readconf.c.orig 2004-01-05 00:22:47.000000000 +0100
+++ readconf.c 2004-01-05 00:23:15.000000000 +0100
$OpenBSD: patch-readconf_c,v 1.2 2005/12/24 08:20:40 pvalchev Exp $
--- readconf.c.orig Sat May 3 05:57:22 1997
+++ readconf.c Fri Dec 23 23:44:56 2005
@@ -17,7 +17,7 @@
#include <syslog.h>
#include <sys/socket.h>
#include <netinet/in.h>
-#include <sys/errno.h>
+#include <errno.h>
#include "policy.h"
#include "readconf.h"
@@ -648,7 +648,7 @@ EncodingByAddress(void)
retval=NULL; \
while(list!=NULL) \

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-quotatool_c,v 1.1 2005/12/24 08:21:43 pvalchev Exp $
--- quotatool.c.orig Fri Dec 23 23:48:13 2005
+++ quotatool.c Fri Dec 23 23:48:22 2005
@@ -49,7 +49,7 @@ static const char rcsid[] =
#include <stdlib.h>
#include <string.h>
#include <sys/param.h>
-#include <sys/errno.h>
+#include <errno.h>
#include <ufs/ufs/quota.h>
#include <pwd.h>
#include <grp.h>