summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_conf.c
diff options
context:
space:
mode:
authorMax Romanov <max.romanov@nginx.com>2017-07-25 16:18:31 +0300
committerMax Romanov <max.romanov@nginx.com>2017-07-25 16:18:31 +0300
commit316c77a9de638c54e2574c205276917ff442d06e (patch)
tree7adb1b8cd00a8f54298840531e83f8242907aa60 /src/nxt_conf.c
parent578cd547c0f121267f8f66a0523fab67c433a90b (diff)
downloadunit-316c77a9de638c54e2574c205276917ff442d06e.tar.gz
unit-316c77a9de638c54e2574c205276917ff442d06e.tar.bz2
Fixed building on Solaris by Sun C.
Diffstat (limited to 'src/nxt_conf.c')
-rw-r--r--src/nxt_conf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nxt_conf.c b/src/nxt_conf.c
index 43170d20..caa2a154 100644
--- a/src/nxt_conf.c
+++ b/src/nxt_conf.c
@@ -41,7 +41,7 @@ typedef struct nxt_conf_array_s nxt_conf_array_t;
typedef struct nxt_conf_object_s nxt_conf_object_t;
-struct nxt_aligned(8) nxt_conf_value_s {
+struct nxt_conf_value_s {
union nxt_packed {
uint8_t boolean; /* 1 bit. */
int64_t integer;
@@ -62,7 +62,7 @@ struct nxt_aligned(8) nxt_conf_value_s {
} u;
uint8_t type; /* 3 bits. */
-};
+} nxt_aligned(8);
struct nxt_conf_array_s {