summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog2
-rw-r--r--src/emacs.c4
2 files changed, 2 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index f44add45de0..205ae565e6b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
2010-09-21 Dan Nicolaescu <dann@ics.uci.edu>
+ * emacs.c: Do not include sys/ioctl.h, not needed.
+
* doprnt.c: Do not include stdlib.h, config.h does it.
Move #include before macro definition.
diff --git a/src/emacs.c b/src/emacs.c
index 33e0d60630b..5e7efb64226 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -32,10 +32,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
#include <unistd.h>
#endif
-#ifdef HAVE_SYS_IOCTL_H
-#include <sys/ioctl.h>
-#endif
-
#ifdef WINDOWSNT
#include <fcntl.h>
#include <windows.h> /* just for w32.h */