OSDN Git Service

* src/lha.h: typedef `int' if no have uid_t/gid_t.
authorarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Tue, 28 May 2002 19:34:46 +0000 (19:34 +0000)
committerarai <arai@6a8cc165-1e22-0410-a132-eb4e3f353aba>
Tue, 28 May 2002 19:34:46 +0000 (19:34 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/lha/lha/trunk@161 6a8cc165-1e22-0410-a132-eb4e3f353aba

src/lha.h

index 5528a81..86f8f79 100644 (file)
--- a/src/lha.h
+++ b/src/lha.h
 # include <grp.h>
 #endif
 
+#if !HAVE_UID_T
+typedef int uid_t;
+#endif
+#if !HAVE_GID_T
+typedef int gid_t;
+#endif
+
 #include "lha_macro.h"
 
 struct encode_option {