summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib-src/ChangeLog5
-rw-r--r--lib-src/ebrowse.c2
-rw-r--r--lib-src/emacsclient.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 545b4746b95..cdceff66db4 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,5 +1,10 @@
2011-01-09 Paul Eggert <eggert@cs.ucla.edu>
+ Include <getopt.h> not "getopt.h".
+ * ebrowse.c, emacsclient.c: Include <getopt.h>, not "getopt.h".
+ Since getopt.h is no longer in this directory, there's no point
+ using the form with double-quotes.
+
Remove unused files.
* getopt.c, getopt1.c, getopt_.h, getopt_int.h: Remove.
These files are now in ../lib, copied from gnulib.
diff --git a/lib-src/ebrowse.c b/lib-src/ebrowse.c
index 72709503070..5cb9de5d8f0 100644
--- a/lib-src/ebrowse.c
+++ b/lib-src/ebrowse.c
@@ -30,7 +30,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <string.h>
#include <ctype.h>
#include <assert.h>
-#include "getopt.h"
+#include <getopt.h>
/* The SunOS compiler doesn't have SEEK_END. */
#ifndef SEEK_END
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 48ea3d22dc9..7bf19d11473 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -74,7 +74,7 @@ char *w32_getenv (char *);
#include <stdarg.h>
#include <ctype.h>
#include <stdio.h>
-#include "getopt.h"
+#include <getopt.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif