mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-28 08:11:05 -08:00
* src/process.c: Simplify include logic.
This commit is contained in:
parent
385ee5fbbb
commit
32bc67090a
2 changed files with 5 additions and 10 deletions
|
|
@ -1,5 +1,7 @@
|
|||
2010-08-06 Dan Nicolaescu <dann@ics.uci.edu>
|
||||
|
||||
* process.c: Simplify include logic.
|
||||
|
||||
* keyboard.h (quit_char): Add declaration.
|
||||
* process.h (QCport, QCspeed, QCprocess, QCbytesize, QCstopbits)
|
||||
(QCparity, Qodd, Qeven, QCflowcontrol, Qhw, Qsw, QCsummary): Add
|
||||
|
|
@ -10,7 +12,6 @@
|
|||
Remove extern declarations in .c files, .h files have them.
|
||||
* xterm.c:
|
||||
* xdisp.c:
|
||||
* process.c:
|
||||
* msdos.c:
|
||||
* image.c:
|
||||
* gtkutil.c:
|
||||
|
|
|
|||
|
|
@ -64,21 +64,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
|||
#if !defined (O_NDELAY) && defined (HAVE_PTYS) && !defined(USG5)
|
||||
#include <fcntl.h>
|
||||
#endif /* HAVE_PTYS and no O_NDELAY */
|
||||
#if defined(HAVE_NET_IF_H)
|
||||
#include <net/if.h>
|
||||
#endif /* HAVE_NET_IF_H */
|
||||
#endif /* HAVE_SYS_IOCTL_H */
|
||||
|
||||
#ifdef NEED_BSDTTY
|
||||
#include <bsdtty.h>
|
||||
#endif
|
||||
|
||||
/* Can we use SIOCGIFCONF and/or SIOCGIFADDR */
|
||||
#if defined(HAVE_SYS_IOCTL_H) && defined(HAVE_NET_IF_H)
|
||||
/* sys/ioctl.h may have been included already */
|
||||
#ifndef SIOCGIFADDR
|
||||
#include <sys/ioctl.h>
|
||||
#endif
|
||||
#include <net/if.h>
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_SYS_WAIT
|
||||
#include <sys/wait.h>
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue