]> mj.ucw.cz Git - pciutils.git/commitdiff
pcilmr: Clean up includes
authorMartin Mares <mj@ucw.cz>
Sun, 18 Feb 2024 11:09:02 +0000 (12:09 +0100)
committerMartin Mares <mj@ucw.cz>
Sun, 18 Feb 2024 11:09:02 +0000 (12:09 +0100)
lmr/margin.c
pcilmr.c

index 0b14747edf0314a2ca6d31dee2d9b00aa9131a91..dfa5612f6e8b022db978dce38e46b2e719b3385b 100644 (file)
@@ -9,7 +9,7 @@
  */
 
 #include <errno.h>
-#include <malloc.h>
+#include <stdlib.h>
 #include <time.h>
 
 #include "lmr.h"
index 0d8b614516ed85e65cdb1b419d103dfaf7d7b55a..8cb5eee240d95fdc3f1c722fe4da19c5cb9a6c74 100644 (file)
--- a/pcilmr.c
+++ b/pcilmr.c
@@ -12,6 +12,7 @@
 #include <memory.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include "lmr/lmr.h"