deanproxy / eMail

Command line SMTP client
https://www.deanproxy.com/code
GNU General Public License v2.0
135 stars 46 forks source link

Import ctype.h in check_strftime.sh #63

Open Schievel1 opened 1 year ago

Schievel1 commented 1 year ago

Clang16 will not allow -Wimplicit-function-declaration will results in the error

checking if strftime is GNU or Non-GNU... /tmp/strftime_try.c:16:8: error: call to undeclared library function 'isdigit' with type
      'int (int)'; ISO C99 and later do not support implicit function declarations
      [-Werror,-Wimplicit-function-declaration]
  if (!isdigit(buf[1]))
       ^

during configure. While this does not stop the configure, it could result in unexpected behavior. It's enough to import the right library into this check.

Signed-off-by: Pascal Jäger pascal.jaeger@leimstift.de