diff -ru obpager-1.8-orig/src/main.cc obpager-1.8/src/main.cc
--- obpager-1.8-orig/src/main.cc	2004-09-01 17:23:44.000000000 +0300
+++ obpager-1.8/src/main.cc	2006-01-02 19:07:03.000000000 +0200
@@ -16,6 +16,8 @@
 	See the COPYING file for a copy of the GNU General Public License.
 */
 
+// why it was not here?
+#include <errno.h>
 
 // Include the STL header(s) we need
 
