]> granicus.if.org Git - file/commitdiff
no need for err.h unless we are debugging.
authorChristos Zoulas <christos@zoulas.com>
Thu, 21 Apr 2016 14:26:03 +0000 (14:26 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 21 Apr 2016 14:26:03 +0000 (14:26 +0000)
src/der.c

index 84793e544db2c654ce563844e8478e684b22cead..ff17c9c0c3e3f0532cb8fccceb1f21c12057243b 100644 (file)
--- a/src/der.c
+++ b/src/der.c
@@ -35,7 +35,7 @@
 #include "file.h"
 
 #ifndef lint
-FILE_RCSID("@(#)$File: der.c,v 1.4 2016/03/21 23:04:40 christos Exp $")
+FILE_RCSID("@(#)$File: der.c,v 1.5 2016/04/17 19:44:45 christos Exp $")
 #endif
 #endif
 
@@ -44,7 +44,6 @@ FILE_RCSID("@(#)$File: der.c,v 1.4 2016/03/21 23:04:40 christos Exp $")
 #include <sys/mman.h>
 
 #include <stdio.h>
-#include <err.h>
 #include <fcntl.h>
 #include <stdlib.h>
 #include <string.h>
@@ -53,6 +52,8 @@ FILE_RCSID("@(#)$File: der.c,v 1.4 2016/03/21 23:04:40 christos Exp $")
 #ifndef TEST_DER
 #include "magic.h"
 #include "der.h"
+#else
+#include <err.h>
 #endif
 
 #define DER_BAD        ((uint32_t)-1)