<sys/stat.h> must provide the nlink_t type.
[pspp] / tests / test-sys_stat.c
index 450fd51a2e8652dc2d6ca6eb8cc0f24f35f4535e..4b5eb767b7fd05bc37bdb9e7b203595f8b634fd3 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of <sys/stat.h> substitute.
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007-2008 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -253,6 +253,9 @@ verify (!S_ISWHT (S_IFLNK));
 verify (!S_ISWHT (S_IFSOCK));
 #endif
 
+/* Check the existence of some types.  */
+nlink_t t1;
+
 int
 main ()
 {