about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--posix/getopt1.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fcd1cbd907..848530c231 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+	* posix/getopt1.c: Include <config.h>, not "config.h".
+
 2017-04-07  Zack Weinberg  <zackw@panix.com>
 
 	* posix/bits/getopt_core.h, posix/bits/getopt_ext.h
diff --git a/posix/getopt1.c b/posix/getopt1.c
index a1fab22817..526dc315cc 100644
--- a/posix/getopt1.c
+++ b/posix/getopt1.c
@@ -18,7 +18,7 @@
    <http://www.gnu.org/licenses/>.  */
 
 #ifndef _LIBC
-#include "config.h"
+# include <config.h>
 #endif
 
 #include "getopt.h"