Add support for centos6 and Ubuntu quantal
[idzebra-moved-to-github.git] / util / tstlockscope.c
index 32e9ce8..b317763 100644 (file)
@@ -21,6 +21,9 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
     \brief tests scope of fcntl locks.. Either "process"  or "thread"
 */
 
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
 #include <assert.h>
 #include <stdio.h>
 #include <string.h>
@@ -42,7 +45,7 @@ static int file_lock(int fd, int type, int cmd)
     area.l_type = type;
     area.l_whence = SEEK_SET;
     area.l_len = area.l_start = 0L;
-    
+
     return fcntl(fd, cmd, &area);
 }