MINGW-packages/mingw-w64-quantum-espresso/002-fix-build-devxlib-on-mingw.patch
مهدي شينون (Mehdi Chinoune) bc43af0012 [new-package] quantum-espresso 7.3.1
2024-06-11 12:31:39 +01:00

13 lines
206 B
Diff

--- a/external/devxlib/src/timer.c
+++ b/external/devxlib/src/timer.c
@@ -1,7 +1,9 @@
#include <time.h>
#include <sys/types.h>
+#ifndef _WIN32
#include <sys/times.h>
+#endif
#include <sys/time.h>