Prefer <config.h> over "config.h". See autoconf doc for explanation.
authorJim Meyering <meyering@redhat.com>
Fri, 25 Jan 2008 20:52:02 +0000 (21:52 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 25 Jan 2008 20:52:02 +0000 (21:52 +0100)
* lib/poll.c: Include <config.h>, not "config.h".
* tests/test-getaddrinfo.c: Likewise.

ChangeLog
lib/poll.c
tests/test-getaddrinfo.c

index a8718ea..91f57ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-01-25  Jim Meyering  <meyering@redhat.com>
+
+       Prefer <config.h> over "config.h".  See autoconf doc for explanation.
+       * lib/poll.c: Include <config.h>, not "config.h".
+       * tests/test-getaddrinfo.c: Likewise.
+
 2008-01-25  Simon Josefsson  <simon@josefsson.org>
 
        * modules/sockets-tests: New file.
index ed81dba..50a0803 100644 (file)
@@ -1,7 +1,7 @@
 /* Emulation for poll(2)
    Contributed by Paolo Bonzini.
 
-   Copyright 2001, 2002, 2003, 2006, 2007 Free Software Foundation, Inc.
+   Copyright 2001, 2002, 2003, 2006, 2007, 2008 Free Software Foundation, Inc.
 
    This file is part of gnulib.
 
@@ -19,7 +19,7 @@
    with this program; if not, write to the Free Software Foundation,
    Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
-#include "config.h"
+#include <config.h>
 
 #include <sys/types.h>
 #include "poll.h"
@@ -132,7 +132,7 @@ poll (pfd, nfd, timeout)
          maxfd = pfd[i].fd;
 
          /* Windows use a linear array of sockets (of size FD_SETSIZE). The
-            descriptor value is not used to address the array.  */ 
+            descriptor value is not used to address the array.  */
 #if defined __CYGWIN__ || (!defined _WIN32 && !defined __WIN32__)
          if (maxfd > FD_SETSIZE)
            {
index 7763f43..00a980b 100644 (file)
@@ -1,6 +1,6 @@
 /* Test the getaddrinfo module.
 
-   Copyright (C) 2006-2007 Free Software Foundation, Inc.
+   Copyright (C) 2006-2008 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
 
 /* Written by Simon Josefsson.  */
 
-#include "config.h"
+#include <config.h>
 #include "getaddrinfo.h"
 #include "inet_ntop.h"
 #include <stdio.h>