zip-writer: Add missing #include <byteswap.h>.
authorBen Pfaff <blp@cs.stanford.edu>
Fri, 2 Mar 2012 06:12:15 +0000 (22:12 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Fri, 2 Mar 2012 06:12:15 +0000 (22:12 -0800)
Fixes a broken build on Debian GNU/Linux, mips architecture.

src/libpspp/zip-writer.c

index 01c11d77c0469643e66bc6fe972ae1bbbc1ff14e..d626d929b374776d8574318a995ba92de80dcce1 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2010 Free Software Foundation, Inc.
+   Copyright (C) 2010, 2012 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
@@ -19,6 +19,7 @@
 #include "libpspp/zip-writer.h"
 #include "libpspp/zip-private.h"
 
+#include <byteswap.h>
 #include <errno.h>
 #include <stdlib.h>
 #include <time.h>