about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mystrverscmp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mystrverscmp.c b/mystrverscmp.c
index 87692d7..dbb5e94 100644
--- a/mystrverscmp.c
+++ b/mystrverscmp.c
@@ -1,4 +1,3 @@
-#include <sys/types.h>
 // taken straight from musl@a593414
 
 /*
@@ -24,6 +23,9 @@ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 */
 
+#include <ctype.h>
+#include <string.h>
+
 int mystrverscmp(const char *l0, const char *r0)
 {
 	const unsigned char *l = (const void *)l0;