[libc-commits] [libc] [libc] add proxy header for struct_sigaction (PR #96224)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Thu Jun 20 11:56:27 PDT 2024


================
@@ -9,7 +9,7 @@
 #ifndef LLVM_LIBC_SRC_SIGNAL_SIGACTION_H
 #define LLVM_LIBC_SRC_SIGNAL_SIGACTION_H
 
-#include <signal.h>
+#include <hdr/types/struct_sigaction.h>
----------------
michaelrj-google wrote:

this should be `#include "hdr/types/struct_sigaction.h"`

In general `<angle brackets>` should only be used for public headers

https://github.com/llvm/llvm-project/pull/96224


More information about the libc-commits mailing list