Commit da817a2f by Gerald Pfeifer Committed by Gerald Pfeifer

decContext.h: Properly guard inclusion of stdint.h

	* decContext.h: Properly guard inclusion of stdint.h
	* decContext.c: Include config.h
	* decLibrary.c: Ditto.
	* decNumber.c: Ditto.
	* decRound.c: Ditto.
	* decUtility.c: Ditto.
	* decimal32.c: Ditto.
	* decimal64.c: Ditto.
	* decimal128.c: Ditto.

From-SVN: r107695
parent d2739ff5
2005-11-23 Gerald Pfeifer <gerald@pfeifer.com>
* decContext.h: Properly guard inclusion of stdint.h
* decContext.c: Include config.h
* decLibrary.c: Ditto.
* decNumber.c: Ditto.
* decRound.c: Ditto.
* decUtility.c: Ditto.
* decimal32.c: Ditto.
* decimal64.c: Ditto.
* decimal128.c: Ditto.
2005-11-29 Ben Elliston <bje@au.ibm.com> 2005-11-29 Ben Elliston <bje@au.ibm.com>
* decUtility.c: Remove redundant #includes. * decUtility.c: Remove redundant #includes.
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
context structures. */ context structures. */
#include <string.h> /* for strcmp */ #include <string.h> /* for strcmp */
#include "config.h"
#include "decContext.h" /* context and base types */ #include "decContext.h" /* context and base types */
#include "decNumberLocal.h" /* decNumber local types, etc. */ #include "decNumberLocal.h" /* decNumber local types, etc. */
......
...@@ -40,7 +40,9 @@ ...@@ -40,7 +40,9 @@
#define DECCFULLNAME "Decimal Context Descriptor" /* Verbose name */ #define DECCFULLNAME "Decimal Context Descriptor" /* Verbose name */
#define DECCAUTHOR "Mike Cowlishaw" /* Who to blame */ #define DECCAUTHOR "Mike Cowlishaw" /* Who to blame */
#ifdef HAVE_STDINT_H
#include <stdint.h> /* C99 standard integers */ #include <stdint.h> /* C99 standard integers */
#endif
#include <signal.h> /* for traps */ #include <signal.h> /* for traps */
......
...@@ -18,6 +18,7 @@ along with GCC; see the file COPYING. If not, write to the Free ...@@ -18,6 +18,7 @@ along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA. */ 02110-1301, USA. */
#include "config.h"
#include "decContext.h" #include "decContext.h"
#include "decimal128.h" #include "decimal128.h"
#include "decimal64.h" #include "decimal64.h"
......
...@@ -153,6 +153,7 @@ ...@@ -153,6 +153,7 @@
#include <stdio.h> /* for printf [if needed] */ #include <stdio.h> /* for printf [if needed] */
#include <string.h> /* for strcpy */ #include <string.h> /* for strcpy */
#include <ctype.h> /* for lower */ #include <ctype.h> /* for lower */
#include "config.h"
#include "decNumber.h" /* base number library */ #include "decNumber.h" /* base number library */
#include "decNumberLocal.h" /* decNumber local types, etc. */ #include "decNumberLocal.h" /* decNumber local types, etc. */
......
...@@ -18,6 +18,7 @@ along with GCC; see the file COPYING. If not, write to the Free ...@@ -18,6 +18,7 @@ along with GCC; see the file COPYING. If not, write to the Free
Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA. */ 02110-1301, USA. */
#include "config.h"
#include "decContext.h" #include "decContext.h"
#define FE_DEC_DOWNWARD 0 #define FE_DEC_DOWNWARD 0
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
Software Foundation, 59 Temple Place - Suite 330, Boston, MA Software Foundation, 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */ 02111-1307, USA. */
#include "config.h"
#include "decNumber.h" /* base number library */ #include "decNumber.h" /* base number library */
#include "decNumberLocal.h" /* decNumber local types, etc. */ #include "decNumberLocal.h" /* decNumber local types, etc. */
#include "decUtility.h" /* utility routines */ #include "decUtility.h" /* utility routines */
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <stdio.h> /* [for printf] */ #include <stdio.h> /* [for printf] */
#define DECNUMDIGITS 34 /* we need decNumbers with space for 34 */ #define DECNUMDIGITS 34 /* we need decNumbers with space for 34 */
#include "config.h"
#include "decNumber.h" /* base number library */ #include "decNumber.h" /* base number library */
#include "decNumberLocal.h" /* decNumber local types, etc. */ #include "decNumberLocal.h" /* decNumber local types, etc. */
#include "decimal128.h" /* our primary include */ #include "decimal128.h" /* our primary include */
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <stdio.h> /* [for printf] */ #include <stdio.h> /* [for printf] */
#define DECNUMDIGITS 7 /* we need decNumbers with space for 7 */ #define DECNUMDIGITS 7 /* we need decNumbers with space for 7 */
#include "config.h"
#include "decNumber.h" /* base number library */ #include "decNumber.h" /* base number library */
#include "decNumberLocal.h" /* decNumber local types, etc. */ #include "decNumberLocal.h" /* decNumber local types, etc. */
#include "decimal32.h" /* our primary include */ #include "decimal32.h" /* our primary include */
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
#include <stdio.h> /* [for printf] */ #include <stdio.h> /* [for printf] */
#define DECNUMDIGITS 16 /* we need decNumbers with space for 16 */ #define DECNUMDIGITS 16 /* we need decNumbers with space for 16 */
#include "config.h"
#include "decNumber.h" /* base number library */ #include "decNumber.h" /* base number library */
#include "decNumberLocal.h" /* decNumber local types, etc. */ #include "decNumberLocal.h" /* decNumber local types, etc. */
#include "decimal64.h" /* our primary include */ #include "decimal64.h" /* our primary include */
......
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