]> Savannah Git Hosting - gnulib.git/commitdiff
msvc-inval: Fix compilation error.
authorBruno Haible <bruno@clisp.org>
Fri, 23 Sep 2011 18:45:10 +0000 (20:45 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 23 Sep 2011 18:45:10 +0000 (20:45 +0200)
* lib/msvc-inval.h: Include <excpt.h>.

ChangeLog
lib/msvc-inval.h

index 5ff27746ea88c6e1407806aa789f114c7196c910..9485f561d569185b3a81a0bbe7c0412defa34011 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-23  Bruno Haible  <bruno@clisp.org>
+
+       msvc-inval: Fix compilation error.
+       * lib/msvc-inval.h: Include <excpt.h>.
+
 2011-09-23  Bruno Haible  <bruno@clisp.org>
 
        mkdir: Tweak for MSVC 9.
index 65df0028d75d22f30840b43d7912e218008446b4..d76c56d7e341e1fe697a59db5af9dc9e44120871 100644 (file)
@@ -46,7 +46,7 @@
 
 /* Get _invalid_parameter_handler type and _set_invalid_parameter_handler
    declaration.  */
-#include <stdlib.h>
+# include <stdlib.h>
 
 # if defined _MSC_VER
 /* A compiler that supports __try/__except, as described in the page
@@ -54,6 +54,8 @@
    <http://msdn.microsoft.com/en-us/library/s58ftw19.aspx>.
    With __try/__except, we can use the multithread-safe exception handling.  */
 
+#  include <excpt.h>
+
 /* Gnulib can define its own status codes, as described in the page
    "Raising Software Exceptions" on microsoft.com
    <http://msdn.microsoft.com/en-us/library/het71c37.aspx>.