jim 97/02/28 05:39:36
Modified: src buff.c
Log:
Description: We have to move "our" header files to the top since
(1) We depend on some #defines from conf.h
(2) We need to include sys/types for some OSs
when using writev()
Revision Changes Path
1.22 +5 -4 apache/src/buff.c
Index: buff.c
===================================================================
RCS file: /export/home/cvs/apache/src/buff.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -C3 -r1.21 -r1.22
*** buff.c 1997/02/21 17:12:49 1.21
--- buff.c 1997/02/28 13:39:35 1.22
***************
*** 50,55 ****
--- 50,59 ----
*
*/
+ #include "conf.h"
+ #include "alloc.h"
+ #include "buff.h"
+
#include <errno.h>
#include <stdio.h>
#include <stdarg.h>
***************
*** 58,69 ****
#include <unistd.h>
#endif
#ifndef NO_WRITEV
#include <sys/uio.h>
#endif
-
- #include "conf.h"
- #include "alloc.h"
- #include "buff.h"
#ifdef HAVE_BSTRING_H
#include <bstring.h> /* for IRIX, FD_SET calls bzero() */
--- 62,70 ----
#include <unistd.h>
#endif
#ifndef NO_WRITEV
+ #include <sys/types.h>
#include <sys/uio.h>
#endif
#ifdef HAVE_BSTRING_H
#include <bstring.h> /* for IRIX, FD_SET calls bzero() */