I took the above two little patches from Corey Minyard's perm9 patch.
I could not get the chance to test those, but they look to me
generally applicable (maybe I am wrong).


2001-09-18  Corey Minyard  <[EMAIL PROTECTED]>

        * config.h should be #included with double quotes; and be the
        first among the headers.


--- windows-NT/win32.c  Thu Feb 15 16:39:07 2001
+++ windows-NT/win32.c-new      Tue Sep 18 23:20:44 2001
@@ -4,6 +4,8 @@
  *
  */
 
+#include "config.h"
+
 #include <ctype.h>
 #include <stdio.h>
 #include <conio.h>
@@ -11,7 +13,6 @@
 #define WIN32_LEAN_AND_MEAN
 #include <windows.h>
 
-#include <config.h>
 #include <winsock.h>
 #include <stdlib.h>


2001-09-18  Corey Minyard  <[EMAIL PROTECTED]>

        * the header file for a system function we're replacing with
        our own should be #included using double quotes;


--- lib/fnmatch.c       Tue Jan 26 22:39:45 1999
+++ lib/fnmatch.c-new   Tue Sep 18 23:26:11 2001
@@ -24,7 +24,7 @@
 /* #include <ansidecl.h> */
 /* @) */
 #include <errno.h>
-#include <fnmatch.h>
+#include "fnmatch.h"
 
 #if !defined(__GNU_LIBRARY__) && !defined(STDC_HEADERS)
 extern int errno;

 
--alexm

_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs

Reply via email to