Revert "do not include stdint.h unprotected"

This reverts commit cb6f7ea40e.

stdint.h can be included everywhere now that the Windows
platform generates and installs a stdint.h when Visual
Studio does not provide one.

Change-Id: Ia3cab28d7f5806203cd45227765debda54ac7472
This commit is contained in:
Jeffrey Altman
2012-06-26 17:03:08 -04:00
parent 98809e86ce
commit 2f17afacda
6 changed files with 6 additions and 8 deletions

View File

@@ -36,7 +36,7 @@
#ifndef __DER_H__
#define __DER_H__
#include <roken.h>
#include <stdint.h>
typedef enum {
ASN1_C_UNIV = 0,

View File

@@ -270,9 +270,7 @@ init_generate (const char *filename, const char *base)
"#endif\n"
"#include <stdio.h>\n"
"#include <stdlib.h>\n"
"#ifdef HAVE_STDINT_H\n"
"#include <stdint.h>\n"
"#endif\n"
"#include <time.h>\n"
"#include <string.h>\n"
"#include <errno.h>\n"
@@ -375,9 +373,7 @@ generate_header_of_codefile(const char *name)
"#define ASN1_LIB\n\n"
"#include <stdio.h>\n"
"#include <stdlib.h>\n"
"#ifdef HAVE_STDINT_H\n"
"#include <stdint.h>\n"
"#endif\n"
"#include <stdint.h>\n"
"#include <time.h>\n"
"#include <string.h>\n"
"#include <errno.h>\n"

View File

@@ -34,7 +34,7 @@
#ifndef __HEIM_ANY_H__
#define __HEIM_ANY_H__ 1
#include <roken.h>
#include <stdint.h>
int encode_heim_any(unsigned char *, size_t, const heim_any *, size_t *);
int decode_heim_any(const unsigned char *, size_t, heim_any *, size_t *);

View File

@@ -36,8 +36,8 @@
#ifndef _SYMBOL_H
#define _SYMBOL_H
#include <roken.h>
#include "asn1_queue.h"
#include <stdint.h>
enum typetype {
TBitString,

View File

@@ -44,6 +44,7 @@
#include <errno.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdint.h>
/*
* Convert a string to a long long integer.

View File

@@ -44,6 +44,7 @@
#include <errno.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdint.h>
/*
* Convert a string to an unsigned long long integer.