]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix unintended use of gcc extension for incomplete enum types,
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 26 Jan 2015 08:46:40 +0000 (08:46 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Mon, 26 Jan 2015 08:46:40 +0000 (08:46 +0000)
  compile with pedantic c99 compliance (from Daniel Dickman).

git-svn-id: file:///svn/unbound/trunk@3321 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
validator/val_secalgo.c

index 17e97c62c4317560c5fbe9d1cff8e21f10c4589d..85bb8d43ef97d44c153f3ccd91c20d903598116a 100644 (file)
@@ -1,3 +1,7 @@
+26 January 2015: Wouter
+       - Fix unintended use of gcc extension for incomplete enum types,
+         compile with pedantic c99 compliance (from Daniel Dickman).
+
 23 January 2015: Wouter
        - windows port fixes, no AF_LOCAL, no chown, no chmod(grp).
 
index d89675f835b096f4a87224f182df77723d2ca3ac..3437c8da60478ef41f26e46ca041fdb1d2bdfe59 100644 (file)
@@ -41,8 +41,9 @@
  * and do the library calls (for the crypto library in use).
  */
 #include "config.h"
-#include "validator/val_secalgo.h"
+/* packed_rrset on top to define enum types (forced by c99 standard) */
 #include "util/data/packed_rrset.h"
+#include "validator/val_secalgo.h"
 #include "util/log.h"
 #include "ldns/rrdef.h"
 #include "ldns/keyraw.h"