]> git.ipfire.org Git - thirdparty/git.git/blobdiff - git-compat-util.h
gitweb: Fix parsing of negative fractional timezones in JavaScript
[thirdparty/git.git] / git-compat-util.h
index 9c23622ed5ee9b60d40921ae74dd1149e1d68b8c..79b5122b4f75697413b23b45646813bef8705ba9 100644 (file)
 #endif
 #ifndef __MINGW32__
 #include <sys/wait.h>
+#include <sys/resource.h>
 #include <sys/socket.h>
 #include <sys/ioctl.h>
 #include <termios.h>
@@ -214,7 +215,10 @@ extern char *gitbasename(char *);
 #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)