Commit 4aef973c by Philippe De Muyter Committed by Philippe De Muyter

sort.h (sys/types.h): File included unconditionnaly.

	* sort.h (sys/types.h): File included unconditionnaly.
	(stddef.h): File include only #ifdef __STDC__.

	* sort.c (UCHAR_MAX): Provide fallback definition.

From-SVN: r33670
parent 6b151aa7
Thu May 4 17:15:26 2000 Philippe De Muyter <phdm@macqel.be>
* sort.h (sys/types.h): File included unconditionnaly.
(stddef.h): File include only #ifdef __STDC__.
2000-05-03 Zack Weinberg <zack@wolery.cumb.org>
* symcat.h: Remove #endif label.
......
......@@ -22,7 +22,10 @@ Boston, MA 02111-1307, USA. */
#ifndef SORT_H
#define SORT_H
#include <sys/types.h> /* For size_t */
#ifdef __STDC__
#include <stddef.h>
#endif /* __STDC__ */
#ifdef __cplusplus
extern "C" {
......
Thu May 4 17:14:41 2000 Philippe De Muyter <phdm@macqel.be>
* sort.c (UCHAR_MAX): Provide fallback definition.
2000-04-29 Alexandre Oliva <aoliva@cygnus.com>
* Makefile.in (maintainer-clean-subdir): Fix handling of empty
......
......@@ -29,6 +29,10 @@ Boston, MA 02111-1307, USA. */
#include <stdlib.h>
#endif
#ifndef UCHAR_MAX
#define UCHAR_MAX ((unsigned char)(-1))
#endif
/* POINTERS and WORK are both arrays of N pointers. When this
function returns POINTERS will be sorted in ascending order. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment