2 Jan 2004 17:43
Move <sys/types.h> up
Samuel Tardieu <gnll-leafnode <at> m.gmane.org>
2004-01-02 16:43:29 GMT
2004-01-02 16:43:29 GMT
FreeBSD 5.x (and other systems) require <sys/types.h> to be included early (before other includes). The following patch fixes that. --- orig/activutil.c +++ mod/activutil.c <at> <at> -44,6 +44,7 <at> <at> #endif #include <fcntl.h> +#include <sys/types.h> #include <sys/uio.h> #include <sys/param.h> #include <sys/socket.h> <at> <at> -59,7 +60,6 <at> <at> #include <stdio.h> #include <string.h> #include <sys/stat.h> -#include <sys/types.h> #include <time.h> #include <unistd.h> #include <dirent.h> --- orig/nntputil.c +++ mod/nntputil.c <at> <at> -44,6 +44,7 <at> <at> #endif #include <fcntl.h>(Continue reading)
RSS Feed