aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/encoding
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2012-07-27 11:36:59 +0200
committerTobias Brunner <tobias@strongswan.org>2012-07-27 13:47:59 +0200
commitd511a71daa36f701636a76fb1e513755b3cb8b03 (patch)
tree18774cdc7c549a63133b04776221db2d5ff368d6 /src/libcharon/encoding
parentdf0f88a4b3167ed11c573e1d3819265e36a3e938 (diff)
downloadstrongswan-d511a71daa36f701636a76fb1e513755b3cb8b03.tar.bz2
strongswan-d511a71daa36f701636a76fb1e513755b3cb8b03.tar.xz
Include stdint.h for UINTxx_MAX defines
Fixes #205.
Diffstat (limited to 'src/libcharon/encoding')
-rw-r--r--src/libcharon/encoding/payloads/transform_attribute.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libcharon/encoding/payloads/transform_attribute.c b/src/libcharon/encoding/payloads/transform_attribute.c
index a11ee98a4..d20f77c59 100644
--- a/src/libcharon/encoding/payloads/transform_attribute.c
+++ b/src/libcharon/encoding/payloads/transform_attribute.c
@@ -17,6 +17,7 @@
#include <string.h>
#include <stddef.h>
+#include <stdint.h>
#include "transform_attribute.h"
@@ -107,13 +108,13 @@ struct private_transform_attribute_t {
*/
static encoding_rule_t encodings[] = {
/* Flag defining the format of this payload */
- { ATTRIBUTE_FORMAT, offsetof(private_transform_attribute_t, attribute_format) },
+ { ATTRIBUTE_FORMAT, offsetof(private_transform_attribute_t, attribute_format) },
/* type of the attribute as 15 bit unsigned integer */
{ ATTRIBUTE_TYPE, offsetof(private_transform_attribute_t, attribute_type) },
/* Length or value, depending on the attribute format flag */
{ ATTRIBUTE_LENGTH_OR_VALUE,offsetof(private_transform_attribute_t, attribute_length_or_value) },
/* Value of attribute if attribute format flag is zero */
- { ATTRIBUTE_VALUE, offsetof(private_transform_attribute_t, attribute_value) }
+ { ATTRIBUTE_VALUE, offsetof(private_transform_attribute_t, attribute_value) }
};
/*