various minor include fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3627 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
b9c5a5c879
commit
96dce26401
|
@ -269,6 +269,8 @@ CVS code -
|
||||||
- nano.h:
|
- nano.h:
|
||||||
- Reorder the toggle #defines to match their corresponding order
|
- Reorder the toggle #defines to match their corresponding order
|
||||||
in toggle_init(). (DLR)
|
in toggle_init(). (DLR)
|
||||||
|
- Move the #include for sys/param.h here from nano.c, and add an
|
||||||
|
#ifdef around it. (DLR)
|
||||||
- prompt.c:
|
- prompt.c:
|
||||||
get_prompt_string()
|
get_prompt_string()
|
||||||
- Include the handling of the help key even when help is
|
- Include the handling of the help key even when help is
|
||||||
|
@ -383,6 +385,10 @@ CVS code -
|
||||||
- Update the last copyright notice to include 2006. (DLR)
|
- Update the last copyright notice to include 2006. (DLR)
|
||||||
- configure.ac:
|
- configure.ac:
|
||||||
- Remove old warnings about color support. (DLR)
|
- Remove old warnings about color support. (DLR)
|
||||||
|
- Remove conditional header checks for fcntl.h and termios.h, as
|
||||||
|
nano won't build without them, and add conditional header
|
||||||
|
check for sys/param.h, as some systems need only limits.h.
|
||||||
|
(DLR)
|
||||||
- doc/faq.html:
|
- doc/faq.html:
|
||||||
- Add a new section 4.4, and move all section 4 entries after it
|
- Add a new section 4.4, and move all section 4 entries after it
|
||||||
down one number, to explain how to deal with problems typing
|
down one number, to explain how to deal with problems typing
|
||||||
|
|
|
@ -49,7 +49,7 @@ AC_DEFINE_DIR([PKGDATADIR], [pkgdatadir], [Where data are placed to.])
|
||||||
dnl Checks for header files.
|
dnl Checks for header files.
|
||||||
|
|
||||||
AC_HEADER_STDC
|
AC_HEADER_STDC
|
||||||
AC_CHECK_HEADERS(fcntl.h getopt.h libintl.h limits.h regex.h termios.h wchar.h wctype.h)
|
AC_CHECK_HEADERS(getopt.h libintl.h limits.h regex.h sys/param.h wchar.h wctype.h)
|
||||||
|
|
||||||
dnl Checks for options.
|
dnl Checks for options.
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/ioctl.h>
|
#include <sys/ioctl.h>
|
||||||
#include <sys/param.h>
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
|
|
|
@ -40,6 +40,10 @@
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_PARAM_H
|
||||||
|
#include <sys/param.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Macros for flags. */
|
/* Macros for flags. */
|
||||||
#define SET(bit) flags |= bit
|
#define SET(bit) flags |= bit
|
||||||
#define UNSET(bit) flags &= ~bit
|
#define UNSET(bit) flags &= ~bit
|
||||||
|
|
Loading…
Reference in New Issue