diff options
author | Cameron Katri <me@cameronkatri.com> | 2022-05-25 18:20:38 -0400 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2022-05-25 18:20:38 -0400 |
commit | 3dbb2ce2ea8b12867db0e24d4bd6c7c6501f5d5d (patch) | |
tree | 34b4c2f32dca91660db151412cd94ce5a4d58ece /compat_strtonum.c | |
parent | a902c812e98dd53cf9f16b5175f7c1f87e780b53 (diff) | |
download | trustcache-3dbb2ce2ea8b12867db0e24d4bd6c7c6501f5d5d.tar.gz trustcache-3dbb2ce2ea8b12867db0e24d4bd6c7c6501f5d5d.tar.zst trustcache-3dbb2ce2ea8b12867db0e24d4bd6c7c6501f5d5d.zip |
Fix some portability issues
Diffstat (limited to 'compat_strtonum.c')
-rw-r--r-- | compat_strtonum.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/compat_strtonum.c b/compat_strtonum.c index aa433d8..356153d 100644 --- a/compat_strtonum.c +++ b/compat_strtonum.c @@ -17,13 +17,12 @@ * $OpenBSD: strtonum.c,v 1.7 2013/04/17 18:40:58 tedu Exp $ */ -#include <sys/cdefs.h> -__FBSDID("$FreeBSD$"); - #include <errno.h> #include <limits.h> #include <stdlib.h> +#include "compat.h" + #define INVALID 1 #define TOOSMALL 2 #define TOOLARGE 3 |