[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] "header.h" vs <header.h>
From: |
Alexey Mahotkin |
Subject: |
[PATCH] "header.h" vs <header.h> |
Date: |
Tue, 18 Sep 2001 23:29:28 +0400 (MSD) |
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 <minyard@acm.org>
* 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 <minyard@acm.org>
* 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
- [PATCH] "header.h" vs <header.h>,
Alexey Mahotkin <=