]> arthur.barton.de Git - netatalk.git/commitdiff
fix Solaris compile, MIN was undefined
authorbfernhomberg <bfernhomberg>
Thu, 1 Jul 2004 02:10:23 +0000 (02:10 +0000)
committerbfernhomberg <bfernhomberg>
Thu, 1 Jul 2004 02:10:23 +0000 (02:10 +0000)
libatalk/asp/asp_getsess.c

index 6d09b761bf49dffd5db47e917df7af4abe52eb03..53b1d163dfce3810cb3079917b2d45c1f7de2aca 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: asp_getsess.c,v 1.7.8.5 2004-07-01 02:01:00 didg Exp $
+ * $Id: asp_getsess.c,v 1.7.8.6 2004-07-01 02:10:23 bfernhomberg Exp $
  *
  * Copyright (c) 1990,1996 Regents of The University of Michigan.
  * All Rights Reserved.  See COPYRIGHT.
 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
 #endif /* ! WIFEXITED */
 
+#ifndef MIN
+#define MIN(a,b)     ((a)<(b)?(a):(b))
+#endif /* ! MIN */
+
 static ASP server_asp;
 static struct server_child *children = NULL;
 static struct asp_child    **asp_ac = NULL;