projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
curl plugin: correct error message
[collectd.git]
/
src
/
chrony.c
diff --git
a/src/chrony.c
b/src/chrony.c
index
23ad992
..
012fd9a
100644
(file)
--- a/
src/chrony.c
+++ b/
src/chrony.c
@@
-105,8
+105,8
@@
typedef enum
} eDaemonReplies;
} eDaemonReplies;
-#if defined(__GNUC__)
-# /*
GNU gcc
extension to enforce struct packing. */
+#if defined(__GNUC__)
|| defined (__SUNPRO_C) || defined(lint)
+# /* extension to enforce struct packing. */
# define ATTRIB_PACKED __attribute__((packed))
#else
# error Not defining packed attribute (unknown compiler)
# define ATTRIB_PACKED __attribute__((packed))
#else
# error Not defining packed attribute (unknown compiler)