[llvm] dc383f0 - Stop including sys/param.h from Unix.h

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 25 06:35:13 PST 2020


Author: Joerg Sonnenberger
Date: 2020-02-25T15:35:04+01:00
New Revision: dc383f07b080aa3a5725628691163850bc50ae89

URL: https://github.com/llvm/llvm-project/commit/dc383f07b080aa3a5725628691163850bc50ae89
DIFF: https://github.com/llvm/llvm-project/commit/dc383f07b080aa3a5725628691163850bc50ae89.diff

LOG: Stop including sys/param.h from Unix.h

Added: 
    

Modified: 
    llvm/lib/Support/Unix/Unix.h

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Support/Unix/Unix.h b/llvm/lib/Support/Unix/Unix.h
index 1fc9a414f749..60929139598b 100644
--- a/llvm/lib/Support/Unix/Unix.h
+++ b/llvm/lib/Support/Unix/Unix.h
@@ -36,10 +36,6 @@
 #include <unistd.h>
 #endif
 
-#ifdef HAVE_SYS_PARAM_H
-#include <sys/param.h>
-#endif
-
 #ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>
 #endif


        


More information about the llvm-commits mailing list