[llvm-commits] CVS: llvm/lib/System/Unix/Unix.h

Reid Spencer reid at x10sys.com
Sun Aug 29 12:24:30 PDT 2004



Changes in directory llvm/lib/System/Unix:

Unix.h updated: 1.1 -> 1.2
---
Log message:

Include some additional header files.
Fix the banner length.


---
Diffs of the changes:  (+6 -4)

Index: llvm/lib/System/Unix/Unix.h
diff -u llvm/lib/System/Unix/Unix.h:1.1 llvm/lib/System/Unix/Unix.h:1.2
--- llvm/lib/System/Unix/Unix.h:1.1	Wed Aug 25 01:19:01 2004
+++ llvm/lib/System/Unix/Unix.h	Sun Aug 29 14:24:20 2004
@@ -1,4 +1,4 @@
-//===- llvm/System/Unix/Unix.h - Common Unix Include File -----*- C++ -*-===//
+//===- llvm/System/Unix/Unix.h - Common Unix Include File -------*- C++ -*-===//
 // 
 //                     The LLVM Compiler Infrastructure
 //
@@ -16,10 +16,12 @@
 //===          is guaranteed to work on all UNIX variants.
 //===----------------------------------------------------------------------===//
 
+#include "Config/config.h"     // Get autoconf configuration settings
 #include <unistd.h>
-#include <stdlib.h>
-#include <string.h>
-#include <errno.h>
+#include <cstdlib>
+#include <cstdio>
+#include <cstring>
+#include <cerrno>
 #include <sys/types.h>
 #include <sys/param.h>
 






More information about the llvm-commits mailing list