diff --git a/git-compat-util.h b/git-compat-util.h
index f4cb0a9b0182da5366249ce6e53e24773fd2b174..40498b33c9f09ef9cac1f7340a9a1ceb2ffcd50d 100644 (file)
--- a/git-compat-util.h
+++ b/git-compat-util.h
#endif
#ifndef __MINGW32__
#include <sys/wait.h>
+#include <sys/resource.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <termios.h>
#define is_dir_sep(c) ((c) == '/')
#endif
-#ifdef __GNUC__
+#if __HP_cc >= 61000
+#define NORETURN __attribute__((noreturn))
+#define NORETURN_PTR
+#elif defined(__GNUC__)
#define NORETURN __attribute__((__noreturn__))
#define NORETURN_PTR __attribute__((__noreturn__))
#elif defined(_MSC_VER)