ccan: check for err.h ourselves
[kai/samba.git] / lib / ccan / libccan.m4
index 3b71d7b02343e28f99007ec65fb360ba1155b220..0d391ad961f86f0c9d0cf8fe493199c19a08c5b2 100644 (file)
@@ -21,6 +21,8 @@ AC_SUBST(CCAN_CFLAGS)
 # All the configuration checks.  Regrettably, the __attribute__ checks will
 # give false positives on old GCCs, since they just cause warnings.  But that's
 # fairly harmless.
+AC_CHECK_HEADERS(err.h)
+
 AC_CACHE_CHECK([whether we can compile with __attribute__((cold))],
               samba_cv_attribute_cold,
               [