always include inttypes.h

This commit is contained in:
Gunnar Ritter 2005-06-19 11:35:03 +00:00
parent bceb4a7c92
commit 744680c3eb
3 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
Release ...
Release 3/25/05
* vi no longer dies with a segmentation fault if a line does not fit on the
screen after an insertion.
* The 'p' command now works correctly if the buffer contains a partial line

View File

@ -70,12 +70,12 @@
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* Sccsid @(#)ex_version.c 1.131 (gritter) 3/24/05
* Sccsid @(#)ex_version.c 1.132 (gritter) 3/25/05
*/
#include "ex.h"
static char *versionstring = "@(#)Version 4.0 (gritter) 3/24/05";
static char *versionstring = "@(#)Version 4.0 (gritter) 3/25/05";
void
printver(void)

View File

@ -36,7 +36,7 @@
* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* Sccsid @(#)mapmalloc.c 1.5 (gritter) 4/5/05
* Sccsid @(#)mapmalloc.c 1.6 (gritter) 6/19/05
*/
#ifdef VMUNIX
@ -45,6 +45,7 @@
#include <unistd.h>
#include <errno.h>
#include <sys/mman.h>
#include <inttypes.h>
#ifndef MAP_FAILED
#define MAP_FAILED ((void *)-1)
@ -77,7 +78,6 @@
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <inttypes.h>
int
botch(char *s)
{