OSDN Git Service

[Refactor] #40514 player_type の sh_cold 変数を廃止. / Abolished sh_cold variable in player...
[hengband/hengband.git] / src / system / h-system.h
index f516cab..ea9dc03 100644 (file)
 
 #ifdef SET_UID
 
-#  include <sys/param.h>
-#  include <sys/file.h>
-
-# ifdef linux
-#  include <sys/file.h>
-# endif
-
-# include <pwd.h>
-
-# include <unistd.h>
-
-# include <sys/stat.h>
-
-# ifdef si_ptr
-/*
- * Linux (at least Debian 10) defines this to access a field in siginfo_t
- * (see the sigaction(2) man page).  Get rid of it since Hengband isn't
- * using siginfo_t and does use si_ptr in other contexts.
- */
-#  undef si_ptr
-# endif
+#include <sys/param.h>
+#include <sys/file.h>
+#include <pwd.h>
+#include <unistd.h>
+#include <sys/stat.h>
 
 #endif /* SET_UID */