diff --git a/dlls/msvcrt/msvcrt.h b/dlls/msvcrt/msvcrt.h
index 97ae662d4697b645b9a9461b82394b14206cc865..a3fcd74c18f70602d47b7333d581fd25163f1ac2 100644
--- a/dlls/msvcrt/msvcrt.h
+++ b/dlls/msvcrt/msvcrt.h
@@ -226,6 +226,16 @@ struct MSVCRT__complex {
   double y;      /* Imaginary part */
 };
 
+typedef struct MSVCRT__div_t {
+    int quot;  /* quotient */
+    int rem;   /* remainder */
+} MSVCRT_div_t;
+
+typedef struct MSVCRT__ldiv_t {
+    long quot;  /* quotient */
+    long rem;   /* remainder */
+} MSVCRT_ldiv_t;
+
 struct MSVCRT__heapinfo {
   int*           _pentry;
   MSVCRT_size_t  _size;