#36 missing include <alloca.h> xfe-0.72/SunOS5.7

closed
nobody
None
5
2005-06-08
2004-12-15
No

In src/File.cc <alloca.h> needs to be included to build
xfe-0.72 successfully on SunOS5.7 (using gcc-3.2.3)

--- src/File.cc.bak 2004-12-15 17:19:57.201017889 +0100
+++ src/File.cc 2004-12-15 17:19:57.201017889 +0100
@@ -7,6 +7,9 @@

#include <signal.h>
#include <stdlib.h>
+#ifdef __sun
+#include <alloca.h>
+#endif
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>

Discussion

  • Roland Baudin
    Roland Baudin
    2005-06-08

    • status: open --> closed
     
  • Roland Baudin
    Roland Baudin
    2005-06-08

    Logged In: YES
    user_id=629537

    OK, I've included this patch.
    Thanks!
    RB