gopro / gpr

General Purpose Raw image format
Apache License 2.0
116 stars 33 forks source link

Include strings.h #47

Open noelbautista91 opened 5 months ago

noelbautista91 commented 5 months ago

I am on Manjaro Linux 6.1.

I am not a C programmer, and I only wanted to get this to work on my end. Not sure why I was getting errors without strings.h

I was getting this error when building from source:

error: implicit declaration of function ‘strcasecmp’; did you mean ‘strncmp’? [-Wimplicit-function-declaration]
   26 | #define stricmp strcasecmp

Replacing string.h with strings.h does not work either.

Adding strings.h fixes this issue for me and I am able to convert GPR to DNG smoothly.