Whamcloud - gitweb
uuidgen.c:
authorTheodore Ts'o <tytso@mit.edu>
Thu, 8 Feb 2001 02:38:07 +0000 (02:38 +0000)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 8 Feb 2001 02:38:07 +0000 (02:38 +0000)
  Add check for HAVE_STDLIB_H before including stdlib.h

misc/uuidgen.c

index 6e3fb31..1eaddbc 100644 (file)
@@ -10,7 +10,9 @@
  */
 
 #include <stdio.h>
+#ifdef HAVE_STDLIB_H
 #include <stdlib.h>
+#endif
 #ifdef HAVE_GETOPT_H
 #include <getopt.h>
 #else