OSDN Git Service

Add new option -- show_ammo_detail / show_ammo_no_crit
[hengband/hengband.git] / src / h-system.h
index ef79e54..6ff2e46 100644 (file)
@@ -20,6 +20,7 @@
 #include <stdio.h>
 #include <ctype.h>
 #include <errno.h>
+#include <stddef.h>
 
 
 #if defined(NeXT)
 #include <unistd.h>
 #endif /* __DJGPP__ */
 
-
-#ifdef SET_UID
-
-#ifdef USG
-# include <string.h>
-#else
-# include <strings.h>
-# ifndef strstr
-extern char *strstr();
-# endif
-# ifndef strchr
-extern char *strchr();
-# endif
-# ifndef strrchr
-extern char *strrchr();
-# endif
-#endif
-
-#else /* SET_UID */
-
-# include <string.h>
-
-#endif /* SET_UID */
-
-
-#if !defined(linux) && !defined(__MWERKS__) && !defined(ACORN) && !defined(WIN32)
-extern long atol();
-#endif
-
+#include <string.h>
 
 #include <stdarg.h>