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 5ff2774..9485f56 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.
        * lib/sys_stat.in.h: Update comments.
        * doc/posix-functions/mkdir.texi: Mention problem on MSVC 9.
index 65df002..d76c56d 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>.